- Start MAAS on virtue
sudo start maas-clusterd; sudo start maas-dhcpd; sudo /etc/init.d/apache2 start - Acquire and start a node
- SSH to that node's IP (retrieved from MAAS UI)
- Run the
unmanaged-installer-network-setup.shscript (see below) sudo ifup eth1- Logout from SSH
- Login to SSH on 10.1.110.2
sudo ifdown eth0sudo ifup eth0- Logout from SSH
- Login to SSH on 10.1.110.1
- Stop MAAS on virtue
sudo stop maas-clusterd; sudo stop maas-dhcpd; sudo /etc/init.d/apache2 stop - Install packages using
unmanaged-packages.sh(see below) - Apply any diffs
sudo openstack-install- Release the machine in MAAS.
Last active
August 29, 2015 14:09
-
-
Save sparkiegeek/c4dcd8865dca78b88192 to your computer and use it in GitHub Desktop.
Sparkie's workflow for testing the unmanaged installer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo rm -f /etc/network/interfaces.d/eth0.cfg | |
| sudo tee /etc/network/interfaces > ~/interfaces.bak << EOF | |
| auto lo | |
| auto eth0 | |
| iface eth0 inet static | |
| address 10.1.110.1 | |
| netmask 255.255.0.0 | |
| gateway 10.1.0.1 | |
| dns-nameserver 10.1.0.1 | |
| metric 100 | |
| iface eth2 inet dhcp | |
| iface eth3 inet dhcp | |
| auto eth1 | |
| iface eth1 inet static | |
| address 10.1.110.2 | |
| netmask 255.255.0.0 | |
| metric 200 | |
| dns-nameserver 10.1.0.1 | |
| EOF | |
| grep $(hostname) /etc/hosts || echo "10.1.110.1 $(hostname)" | sudo tee -a /etc/hosts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get -y install language-pack-en ipython3 | |
| sudo add-apt-repository -y ppa:juju/stable | |
| sudo add-apt-repository -y ppa:maas-maintainers/testing | |
| sudo add-apt-repository -y ppa:cloud-installer/testing | |
| sudo apt-get update | |
| sudo apt-get -y install openstack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment