diff options
author | Stef Walter <stefw@redhat.com> | 2014-11-14 15:39:38 +0000 |
---|---|---|
committer | Stef Walter <stefw@redhat.com> | 2014-11-14 15:39:38 +0000 |
commit | 365ad263c5b3ec0ce56d0505dae694d981f8a3c2 (patch) | |
tree | 74378e50f927ea83dc5003099ea338f4ffeff8be /content | |
parent | a76b69440fe55b2cd31a0832b29af8fca545001f (diff) |
Fix plugin tutorial extract command
Diffstat (limited to 'content')
-rw-r--r-- | content/cockpit/cockpit-plugin-tutorial.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/cockpit/cockpit-plugin-tutorial.md b/content/cockpit/cockpit-plugin-tutorial.md index 2fd0a76..b189a07 100644 --- a/content/cockpit/cockpit-plugin-tutorial.md +++ b/content/cockpit/cockpit-plugin-tutorial.md @@ -15,7 +15,7 @@ For example the *Terminal* that you see there is implemented as a tool. But lets So break out your terminal, lets make a package called *pinger* that checks whether your server has network connectivity to the Internet by pinging another host. Nothing too fancy. We'll just be spawning a process on the server to do the work. I've prepared it for you as [an example here](http://stef.thewalter.net/files/pinger.tgz), and we can look it over, and modify it. To download the example to your current directory: :::text - $ wget http://stef.thewalter.net/files/pinger.tgz -O - | tar -xf - + $ wget http://stef.thewalter.net/files/pinger.tgz -O - | tar -xzf - $ cd pinger/ Components, and more specifically their HTML and Javascript files, live in package directories. In the package directory there's also a `manifest.json` file which tells Cockpit about the package. The `pinger` directory above is such a package. It's `manifest.json` file looks like this: |