How to setup and start using a VirtualEnv

By |2015-12-16T12:34:40+00:00December 16th, 2015|Development|

First you need to install the following packages: Python Pip Virtualenv Now you need to follow these steps: cd /home/myuser/myvenvs virtualenv --no-site-packages --distribute mynewvenv If you want to use a custom version of python, use this command instead: virtualenv -p /opt/python-2.7.3/bin/python2.7 --no-site-packages --distribute mynewvenv Where /opt/python-2.7.3/bin/python2.7 is the python binary you want to use (virtualenv [...]

Fast creation of kvm vms to use with MAAS

By |2018-07-26T13:39:51+00:00July 27th, 2015|Reminders|

Remember to adjust the number of nodes, cpu, ram and the disk size. Important, use the rtl8139 driver for fast boot with MAAS PXE, and note the below the boot is defined to be made through network. And, remember to add the br0 bridge interface. for i in {0..5}; do virt-install --name=maas-node-${i} --connect=qemu:///system --ram=4096 --vcpus=1 --hvm [...]

Go to Top