summaryrefslogtreecommitdiff
path: root/morphlib/exts/virtualbox-ssh.write
Commit message (Collapse)AuthorAgeFilesLines
* Fix long lineDaniel Silverstone2014-05-161-1/+2
|
* VirtualBox Write Extension: Vagrant supportDaniel Silverstone2014-05-161-7/+15
| | | | | | | Add support to the VirtualBox write extension to notice if we are doing a Vagrant Basebox installation and not do the clever network setup we normally do to allow machines to talk to one another since this confuses Vagrant quite a bit if it is left in.
* fix the Virtualbox version checkingPaul Sherwood2014-04-201-2/+2
|
* Make parse_autostart() into more general get_environment_boolean()Sam Thursfield2014-03-041-1/+1
| | | | | Also, be more flexible when parsing environment booleans -- convert to lower case and match 0/1 and true/false as well as yes/no.
* Fix copyright year in previous commitRichard Maw2014-01-281-1/+1
|
* virtualbox-ssh: Work around change in VBox optionsRichard Maw2014-01-281-1/+19
| | | | | | | | | | | | VirtualBox changed a command line option in 4.3 incompatibly, so we now have to check the version number and change an option from --sataportcount to --portcount if the version of VirtualBox running on the target is at least 4.3 This turns the version into a tuple and compares it against another, since it's more reliable than comparing strings, which will count '1.10' as earlier than '1.2', and more convenient than comparing the digits individually.
* Deployment failures will now remove the disk imageDan Firth2013-10-141-1/+1
|
* Fix naming of SATA Controller in VirtualBox deploymentsLars Wirzenius2013-08-191-3/+3
| | | | Patch from Paul Sherwood.
* Allow to set the number of cpus for virtualbox and kvm deployments.Tiago Gomes2013-07-021-1/+4
|
* Improve network setup of the virtualbox write extension.Tiago Gomes2013-06-061-7/+65
| | | | | | | | | | | | | | | | | The VirtualBox deployment write extension will configure networking in the following manner: - One host-only network interface will be used to group the virtual machines together (and to give access between the host and the virtual machines). It will be bound to eth0 of the virtual machine. - One NAT (or Bridge) network interface will be used to allow the virtual machines access to the wider network. This will be bound to eth1 of the virtual machine. Now deployment to virtual box will require that both HOST_IPADDR and NETMASK environment variables be set, and also configuration for eth0 and eth1 is expected in the NETWORK_CONFIG environment variable. This commit also replaces some run_cmd with ssh_runcmd.
* Add AUTOSTART to kvm and libvirt write extensionsRichard Maw2013-05-081-2/+7
| | | | | | 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 in VirtualBox deploymentsLars Wirzenius2013-03-281-1/+3
|
* Implement ATTACH_DISKS in virtualbox-ssh.writeLars Wirzenius2013-03-201-1/+11
|
* Fix virtualbox deploymentRic Holland2013-03-051-3/+5
| | | | | | It was missing an import for sys. It did not have the size of the disk either, this has also been fixed
* Add missing argument to create_local_system methodLars Wirzenius2013-02-071-1/+1
| | | | Reported-By: Richard Maw
* Refactor: Add WriteExtension.create_local_system methodLars Wirzenius2013-02-071-24/+5
| | | | | | | | | | 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-10/+0
| | | | Suggested-By: Richard Maw
* Add a write extension for VirtualBoxLars Wirzenius2013-02-061-0/+158