diff --git a/bk001-ch004-associate-controller-node-quiz.xml b/bk001-ch004-associate-controller-node-quiz.xml index d959d239..3209557f 100644 --- a/bk001-ch004-associate-controller-node-quiz.xml +++ b/bk001-ch004-associate-controller-node-quiz.xml @@ -92,9 +92,10 @@ - To install a client package the following command syntax is used: - $ sudo pip install [--update] python-project client (True or False) - + To install a client package + + Run this command: +# pip install [--update] python-project client (True or False) True @@ -108,9 +109,10 @@ - To get a list of images in glance you can use the following command syntax: - $ glance image-list - + To list images + + Run this command: + $ glance image-list True diff --git a/lab000-virtualbox-basics.xml b/lab000-virtualbox-basics.xml index d19b6c06..3dfab31a 100644 --- a/lab000-virtualbox-basics.xml +++ b/lab000-virtualbox-basics.xml @@ -81,11 +81,10 @@ - $sudo apt-get install - cpu-checker + # apt-get install cpu-checker - $sudo kvm-ok + # kvm-ok @@ -612,20 +611,16 @@ shutdown your 3. In case your VM's don't get internet. - From your VM Instance, Use ping command to see whether - Internet is on. + From your VM Instance, use ping + command to see whether Internet is on. + $ ping www.google.com - - $ping www.google.com - If its not connected, restart networking - service- + service: + # service networking restart +# ping www.google.com - - $sudo service networking restart -$ping www.google.com - If this doesn't work, you need to check your network settings from Virtual Box, you may have left something or diff --git a/lab001-control-node.xml b/lab001-control-node.xml index 310e382d..9b640893 100644 --- a/lab001-control-node.xml +++ b/lab001-control-node.xml @@ -555,7 +555,7 @@ osapi_volume_listen_port=5900 Restart nova-* services (all nova services): - # cd /etc/init.d/; for i in $( ls nova-* ); do sudo service $i restart; done + # cd /etc/init.d/; for i in $( ls nova-* ); do service $i restart; done @@ -680,13 +680,13 @@ rabbit_port = 5672 Restart the Cinder services: - # cd /etc/init.d/; for i in $( ls cinder-* ); do sudo service $i restart; done + # cd /etc/init.d/; for i in $( ls cinder-* ); do service $i restart; done Verify if Cinder services are running: - # cd /etc/init.d/; for i in $( ls cinder-* ); do sudo service $i status; done + # cd /etc/init.d/; for i in $( ls cinder-* ); do service $i status; done diff --git a/lab003-compute-node.xml b/lab003-compute-node.xml index 91159ee9..daa36cd4 100644 --- a/lab003-compute-node.xml +++ b/lab003-compute-node.xml @@ -278,11 +278,11 @@ osapi_volume_listen_port=5900 cinder_catalog_info=volume:cinder:internalURL - Restart Nova Services - # cd /etc/init.d/; for i in $( ls nova-* ); do sudo service $i restart; done + Restart nova services + # cd /etc/init.d/; for i in $( ls nova-* ); do service $i restart; done - List Nova Services (Check for the Smiley Faces to know if the services are running): + List nova services (Check for the Smiley Faces to know if the services are running): # nova-manage service list diff --git a/module001-ch006-overview-horizon-cli.xml b/module001-ch006-overview-horizon-cli.xml index d96cfc5c..3e61817d 100644 --- a/module001-ch006-overview-horizon-cli.xml +++ b/module001-ch006-overview-horizon-cli.xml @@ -929,61 +929,47 @@ Run the following command to install or update a client package: - - - $ sudo pip install [--update] - python-<project>client - - - Where <project> is the project name and has one + # pip install [--update] python-<project>client + Where <project> is the project name and has one of the following values: + + + nova. Compute API and extensions. + + + neutron. Networking API. + + + keystone. Identity Service API. + + + glance. Image Service API. + + + swift. Object Storage API. + + + cinder. Block Storage Service API. + + + heat. Orchestration API. + + - - - - nova. Compute API and extensions. - - - neutron. Networking API. - - - keystone. Identity Service API. - - - glance. Image Service API. - - - swift. Object Storage API. - - - cinder. Block Storage Service API. - - - heat. Orchestration API. - - - For example, to install the nova client, run the following command: - - - $ sudo pip install python-novaclient + # pip install python-novaclient To update the nova client, run the following command: - - - $ sudo pip install --upgrade - python-novaclient + # pip install --upgrade python-novaclient To remove the nova client, run the following command: - - - $ sudo pip uninstall python-novaclient + # pip uninstall python-novaclient Before you can issue client commands, you must diff --git a/operator-editing-code.xml b/operator-editing-code.xml index 6ec472ee..3343a274 100644 --- a/operator-editing-code.xml +++ b/operator-editing-code.xml @@ -105,7 +105,7 @@ Create the apache-maven directory: - $ sudo mkdir /usr/local/apache-maven + # mkdir /usr/local/apache-maven Copy the latest stable binary from Extract the distribution archive to the directory you wish to install Maven: - $ cd /usr/local/apache-maven/ -$ sudo tar -xvzf apache-maven-x.x.x-bin.tar.gz + # cd /usr/local/apache-maven/ +# tar -xvzf apache-maven-x.x.x-bin.tar.gz The apache-maven-x.x.x subdirectory is created from the archive file, where x.x.x is your Maven version. @@ -212,9 +212,10 @@ Install git-review. If pip is not already - installed, use sudo easy_install pip - to install it on a Mac or Ubuntu - $ sudo pip install git-review + installed, run easy_install pip as + root to + install it on a Mac or Ubuntu. + # pip install git-review Change to the directory: @@ -309,7 +310,7 @@ Jenkins runs gating scripts to check that the patch is fine. Locally, you can use the tox tool to run the same checks and ensure that a patch works. Install the tox package and run it from the top level directory which has the tox.ini file. - $ sudo pip install tox + # pip install tox $ tox Jenkins runs the following four checks. You can run them individually: @@ -484,7 +485,7 @@ blueprint training-manuals Jenkins runs gating scripts to check that the patch is fine. Locally, you can use the tox tool to run the same checks and ensure that a patch works. Install the tox package and run it from the top level directory which has the tox.ini file. - $ sudo pip install tox + # pip install tox $ tox