Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix state subvolume generator to preserve permissionsbaserock/danielsilverstone/vagrant-support | Daniel Silverstone | 2014-05-16 | 1 | -1/+1 |
| | | | | | | shutil.move() does not preserve permissions, file modes, ownerships etc, resulting in much confusion when prepopulating a non-root user during deployment. This change to `mv` fixes that. | ||||
* | deploy: Share SSH connectivity check in the common writeexts.py code | Sam Thursfield | 2014-04-15 | 1 | -0/+9 |
| | | | | | Also, change it to log the real error message in morph.log before raising a more general exception to the user. | ||||
* | Adding support to add extra kernel args in extlinux.conf | Pedro Alvarez | 2014-04-04 | 1 | -1/+5 |
| | |||||
* | Make parse_autostart() into more general get_environment_boolean() | Sam Thursfield | 2014-03-04 | 1 | -7/+7 |
| | | | | | Also, be more flexible when parsing environment booleans -- convert to lower case and match 0/1 and true/false as well as yes/no. | ||||
* | deploy: Finish off the Btrfs system layout implementation | Sam Thursfield | 2014-03-04 | 1 | -42/+141 |
| | | | | | | | | | | | | | | | The shared state directories defined in writeexts.py (/var, /home etc.) are now separate Btrfs subvolumes that are mounted in place using fstab. There are some warnings on mounting /var and /srv about the mountpoint not being empty. Not yet investigated. If a configure extension has already added / to the fstab, use the device it chose rather than assuming /dev/sda. This is required for the vdaboot.configure extension that we use for OpenStack deployments. Similarly, if a configure extension has added an entry for a state directory in /etc/fstab already, we don't replace it with a /state/xxx directory. That's only done as a default behaviour. | ||||
* | Adding syslinux 'menu.c32' file during the deployment. | Pedro Alvarez | 2014-03-04 | 1 | -1/+19 |
| | | | | | We will need this file to enable a bootloader menu to choose between OS after an upgrade. | ||||
* | Import morphlib as we are using morphlib.Error | Tiago Gomes | 2013-07-17 | 1 | -0/+1 |
| | |||||
* | Allow to set the number of cpus for virtualbox and kvm deployments. | Tiago Gomes | 2013-07-02 | 1 | -0/+4 |
| | |||||
* | Write extensions: Flush output when using status() | Richard Maw | 2013-06-10 | 1 | -0/+1 |
| | | | | | This is required to get real-time output and the timestamps meaning anything useful. | ||||
* | Set up a symlink to the default system version in rawdisk/kvm/vbox | Tiago Gomes | 2013-06-14 | 1 | -4/+5 |
| | | | | | | | deployments Also Change them to use the "default" symlink in the extlinux.conf they create, instead of hardcoding the current system version name | ||||
* | Make create_local_system fail if DISK_SIZE isn't defined | Jonathan Maw | 2013-05-29 | 1 | -1/+5 |
| | |||||
* | Remove executable permissions from *.py files that have them | Lars Wirzenius | 2013-05-28 | 1 | -0/+0 |
| | |||||
* | Use the name factory for the first system version. | Tiago Gomes | 2013-05-23 | 1 | -1/+1 |
| | |||||
* | Allow installing extlinux to other system versions. | Tiago Gomes | 2013-05-20 | 1 | -4/+4 |
| | |||||
* | Use a kernel named 'kernel' instead of 'linux' | Jonathan Maw | 2013-05-13 | 1 | -2/+2 |
| | |||||
* | Merge branch 'jonathan/disk-layout' of ↵ | Richard Maw | 2013-05-13 | 1 | -25/+47 |
|\ | | | | | | | ssh://trove.baserock.org/baserock/baserock/morph | ||||
| * | Add 'state' dirs as btrfs subvolumes | Jonathan Maw | 2013-05-13 | 1 | -0/+11 |
| | | | | | | | | | | | | These subvolumes exist in state/{home,opt,srv} of the disk's root. They are not mounted by default. | ||||
| * | Use a different disk system layout for rawdisk | Jonathan Maw | 2013-05-13 | 1 | -25/+36 |
| | | | | | | | | | | This is in preparation for making deployments able to upgrade existing baserock systems. | ||||
* | | Merge branch 'baserock/richardmaw/kvm-write-allow-autostart' of ↵ | Richard Maw | 2013-05-13 | 1 | -0/+12 |
|\ \ | |/ |/| | | | | | | | git://git.baserock.org/baserock/baserock/morph Reviewed-by: Jonathan Maw on IRC. | ||||
| * | Add AUTOSTART to kvm and libvirt write extensions | Richard Maw | 2013-05-08 | 1 | -0/+12 |
| | | | | | | | | | | | | 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. | ||||
* | | Fix typo | Lars Wirzenius | 2013-05-09 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'liw/fix-rawdisk-on-arm' | Lars Wirzenius | 2013-05-09 | 1 | -1/+24 |
|\ \ | |/ |/| | | | Reviewed-By: Jonathan Maw (on irc) | ||||
| * | Fix recognition of x86-32 | Lars Wirzenius | 2013-05-08 | 1 | -1/+5 |
| | | | | | | | | Reported-by: Richard Maw | ||||
| * | Make bootloader installation for disk images optional | Lars Wirzenius | 2013-05-08 | 1 | -1/+20 |
| | | |||||
* | | Add entry for / in fstab but only if there isn't one | Lars Wirzenius | 2013-05-02 | 1 | -2/+18 |
|/ | |||||
* | Add method to parse $RAM_SIZE | Lars Wirzenius | 2013-03-28 | 1 | -4/+24 |
| | |||||
* | Add ATTACH_DISKS support to kvm | Lars Wirzenius | 2013-03-20 | 1 | -0/+8 |
| | |||||
* | Add missing "import sys" to fix error messages | Lars Wirzenius | 2013-02-12 | 1 | -0/+1 |
| | | | | Reported-By: Richard Maw | ||||
* | Refactor: Add WriteExtension.create_local_system method | Lars Wirzenius | 2013-02-07 | 1 | -1/+35 |
| | | | | | | | | | | 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 | ||||
* | Do away with unnecessary fstab entries for proc, sys | Lars Wirzenius | 2013-02-07 | 1 | -2/+0 |
| | | | | Suggested-By: Richard Maw | ||||
* | Let mount choose loop device | Lars Wirzenius | 2013-02-07 | 1 | -2/+1 |
| | | | | Suggested-By: Richard Maw | ||||
* | Create hole in-process without executing dd(1) | Lars Wirzenius | 2013-02-07 | 1 | -7/+4 |
| | | | | Suggested-By: Richard Maw | ||||
* | Add morphlib module for common write extension code | Lars Wirzenius | 2013-02-06 | 1 | -0/+157 |