108 lines
1.3 KiB
ReStructuredText
108 lines
1.3 KiB
ReStructuredText
.. _examples:
|
|
|
|
|
|
===============
|
|
Examples
|
|
===============
|
|
|
|
Installing
|
|
---------------------------
|
|
|
|
::
|
|
|
|
$ sudo ./smithy -a install
|
|
|
|
|
|
.. literalinclude:: examples/install.txt
|
|
:language: none
|
|
:linenos:
|
|
|
|
|
|
Testing
|
|
---------------------------
|
|
|
|
::
|
|
|
|
$ sudo ./smithy -a test
|
|
|
|
|
|
.. literalinclude:: examples/testing.txt
|
|
:language: none
|
|
:linenos:
|
|
|
|
|
|
Starting
|
|
---------------------------
|
|
|
|
::
|
|
|
|
$ sudo ./smithy -a start
|
|
|
|
|
|
.. literalinclude:: examples/starting.txt
|
|
:language: none
|
|
:linenos:
|
|
|
|
|
|
Status
|
|
---------------------------
|
|
|
|
::
|
|
|
|
$ sudo ./smithy -a status
|
|
|
|
|
|
.. literalinclude:: examples/status.txt
|
|
:language: none
|
|
:linenos:
|
|
|
|
|
|
Stopping
|
|
---------------------------
|
|
|
|
::
|
|
|
|
$ sudo ./smithy -a stop
|
|
|
|
|
|
.. literalinclude:: examples/stopping.txt
|
|
:language: none
|
|
:linenos:
|
|
|
|
|
|
Packaging
|
|
---------------------------
|
|
|
|
|
|
::
|
|
|
|
$ sudo ./smithy -a package
|
|
|
|
|
|
.. literalinclude:: examples/packaging.txt
|
|
:language: none
|
|
:linenos:
|
|
|
|
::
|
|
|
|
$ cat /home/harlowja/openstack/nova/package/SPECS/nova-2012.2-1.spec
|
|
|
|
.. literalinclude:: examples/packaging-result.txt
|
|
:language: none
|
|
:linenos:
|
|
|
|
|
|
Uninstalling
|
|
---------------------------
|
|
|
|
::
|
|
|
|
$ sudo ./smithy -a uninstall
|
|
|
|
|
|
.. literalinclude:: examples/uninstall.txt
|
|
:language: none
|
|
:linenos:
|
|
|
|
|