diff options
author | varac <varacanero@zeromail.org> | 2012-11-13 22:29:29 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2012-11-13 22:29:29 +0100 |
commit | c92ede9f094d605fa349b44dea753324cf367894 (patch) | |
tree | 13405f2f916f961960b45ef70b799552d0576094 | |
parent | 06cd09bccf833ef7f1ade0d452b657f390c4e5fb (diff) |
updated README.md
-rw-r--r-- | README.md | 18 |
1 files changed, 14 insertions, 4 deletions
@@ -36,10 +36,19 @@ Setup (once) mkdir /var/lib/libvirt/cloudinit chown libvirt-qemu /var/lib/libvirt/cloudinit +* Clone repository + + git clone git://code.leap.se/leap_cloudadmin /usr/local/bin/leap_cloudadmin + ln -s /usr/local/bin/leap_cloudadmin/create-guest-with-cloudinit /usr/local/bin/create-guest-with-cloudinit + + Clone Instance ============== -* edit /etc/cloudinit/NAME.cfg, using vmtest.cfg.example from this repository as template +* edit /etc/cloudinit/NAME.cfg, using vmtest.cfg.example from this repository as template: + + cp /usr/local/bin/leap_cloudadmin/vmtest.cfg.example /etc/cloudinit/NAME.cfg + * create new VM: /usr/local/bin/create-guest-with-cloudinit -s 7 NAME @@ -59,9 +68,10 @@ Configure new guest Networking ---------- -* By default, eth0 uses NATed networking through the host virbr0. It gets an dynamic IP throught dhcp, and can access the internet through that. -* To assign a static IP, add according entry to /etc/network/interfaces, i.e.: - +* By default, eth0 uses NATed networking through the host virbr0. + It gets an dynamic IP throught dhcp, and can access the internet through that. +* To assign a static IP, either configure it in the condig file (recommended), or + add it later after logging into the vm. Add according entry to /etc/network/interfaces, i.e.: allow-hotplug eth1 iface eth1 inet static |