summaryrefslogtreecommitdiff
path: root/morphlib/exts/kvm.write
Commit message (Collapse)AuthorAgeFilesLines
* Don't create guestbaserock/adam_richard/ssh_keysRichard Ipsum2014-05-281-1/+1
|
* More info in msgRichard Ipsum2014-05-281-3/+2
|
* Add loggingRichard Ipsum2014-05-281-0/+1
|
* DebugRichard Ipsum2014-05-281-0/+1
|
* deploy: Check SSH connection for KVM deployment before startingSam Thursfield2014-04-141-6/+3
| | | | | | Slight duplication is necessary, but it's only a few lines. We could move the duplicated code into the base class in 'morphlib.writeexts' if there was more duplication.
* Make parse_autostart() into more general get_environment_boolean()Sam Thursfield2014-03-041-2/+2
| | | | | Also, be more flexible when parsing environment booleans -- convert to lower case and match 0/1 and true/false as well as yes/no.
* Deployment failures will now remove the disk imageDan Firth2013-10-141-0/+1
|
* Allow to set the number of cpus for virtualbox and kvm deployments.Tiago Gomes2013-07-021-2/+5
|
* Write extensions: pass -s to rsyncRichard Maw2013-06-091-1/+1
| | | | | | | | | | | | | -s, or --protect-args prevents the file path components of destination or source paths being interpreted by the remote shell. This is for wildcards or other shell features, but it breaks when paths have whitespace. We tend to always use absolute paths, so all uses of rsync now pass -s. kvm.write needs it, since the disk can be written to a path with spaces. Nfsboot and ssh-rsync need it because version labels are used, which may have spaces, and temporary directories are used, which could have spaces in weird TMPDIR configurations.
* kvm.write uses NIC_CONFIGJonathan Maw2013-06-191-0/+5
|
* kvm.write: Set VM to autostart if specifiedJonathan Maw2013-06-031-0/+3
|
* kvm.write: use ssh_runcmdJonathan Maw2013-06-031-4/+3
|
* Fix kvm working without autostartJonathan Maw2013-05-241-1/+1
|
* Add AUTOSTART to kvm and libvirt write extensionsRichard Maw2013-05-081-9/+10
| | | | | | If AUTOSTART is 'yes' then the VM will be started once it is created. If it is 'no' or undefined, then it will need to be manually started. If it is any other value, then an exception is raised.
* Set RAM size for kvm deploymentLars Wirzenius2013-03-281-1/+4
|
* Add ATTACH_DISKS support to kvmLars Wirzenius2013-03-201-1/+8
|
* Improve message phrasingLars Wirzenius2013-02-121-2/+2
| | | | Suggested-By: Richard Maw
* Refactor: Add WriteExtension.create_local_system methodLars Wirzenius2013-02-071-26/+9
| | | | | | | | | | This allows code sharing amongst all the places that create a system in a raw disk image. This also adds the creation of a factory-run subvolume, and fixes error messages for errors that happen during a disk image creation. Suggested-By: Richard Maw Suggested-By: Sam Thursfield
* Remove debugging outputLars Wirzenius2013-02-071-13/+0
| | | | Suggested-By: Richard Maw
* Add a write extension for kvm+libvirtLars Wirzenius2013-02-061-0/+140