summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* EXTS: simple-network.configureDaniel Silverstone (br7vm)2013-05-171-0/+143
| | | | | | Simple networking configuration extension, taking NETWORK_CONFIG from the environment and writing /etc/network/interfaces out during deployment configuration.
* Merge branch 'jonathan/nfsboot-layout-rebase'Jonathan Maw2013-05-151-11/+74
|\ | | | | | | Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
| * Make nfsboot use the new hierarchyJonathan Maw2013-05-141-11/+74
| |
| * Make rsync delete files that shouldn't existJonathan Maw2013-05-141-1/+1
|/
* Merge branch 'jonathan/rename-rawdisk-kernel'Jonathan Maw2013-05-131-2/+2
|\ | | | | | | Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk
| * Use a kernel named 'kernel' instead of 'linux'Jonathan Maw2013-05-131-2/+2
|/
* Merge branch 'baserock/tiagogomes/drop-config' of ↵Richard Maw2013-05-131-0/+27
|\ | | | | | | ssh://git.baserock.org/baserock/baserock/morph
| * Rename the drop-config-files extension to add-config-filesTiago Gomes2013-05-131-0/+0
| |
| * Merge git://git.baserock.org/baserock/baserock/morph into ↵Tiago Gomes2013-05-103-36/+76
| |\ | |/ |/| | | baserock/tiagogomes/drop-config
* | Merge branch 'jonathan/disk-layout' of ↵Richard Maw2013-05-131-25/+47
|\ \ | | | | | | | | | ssh://trove.baserock.org/baserock/baserock/morph
| * | Add 'state' dirs as btrfs subvolumesJonathan Maw2013-05-131-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 rawdiskJonathan Maw2013-05-131-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 Maw2013-05-133-11/+29
|\ \ \ | |/ / |/| | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph Reviewed-by: Jonathan Maw on IRC.
| * | Add AUTOSTART to kvm and libvirt write extensionsRichard Maw2013-05-083-11/+29
| | | | | | | | | | | | | | | | | | 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.
| | * Add a new configuration extension to drop configuration files to the image /etcTiago Gomes2013-05-101-0/+27
| |/ |/|
* | Merge branch 'fix-permissions' of ssh://git.baserock.org/baserock/baserock/morphRichard Maw2013-05-101-2/+4
|\ \
| * | Fix permissions on the ssh configure extensionTiago Gomes2013-05-091-2/+4
|/ /
* | Merge branch 'support-known-hosts' of ↵Richard Maw2013-05-101-10/+11
|\ \ | | | | | | | | | git://git.baserock.org/baserock/baserock/morph
| * | Improve the ssh configuration file.Tiago Gomes2013-05-091-10/+11
|/ / | | | | | | | | | | - Don't fail if the root/.ssh directory does not exist when adding entries to the known_hosts file - Use shutil.copyfilobj to copy the file contents - Use the python with statatement when opening files
* | Merge branch 'support-known-hosts' of ↵Richard Maw2013-05-091-0/+16
|\ \ | | | | | | | | | | | | | | | git://git.baserock.org/baserock/baserock/morph A column width error was fixed up in the merge.
| * | Allow to add public ssh keys to known hosts fileTiago Gomes2013-05-091-0/+15
| |/
* | Fix typoLars Wirzenius2013-05-091-1/+1
| |
* | Merge branch 'liw/fix-rawdisk-on-arm'Lars Wirzenius2013-05-091-1/+24
|\ \ | |/ |/| | | Reviewed-By: Jonathan Maw (on irc)
| * Fix recognition of x86-32Lars Wirzenius2013-05-081-1/+5
| | | | | | | | Reported-by: Richard Maw
| * Make bootloader installation for disk images optionalLars Wirzenius2013-05-081-1/+20
| |
* | Merge branch 'master' of git://git.baserock.org/baserock/baserock/morphLars Wirzenius2013-05-081-1/+1
|\ \
| * | Fix unfortunate typo in ssh configuration extensionRichard Maw2013-05-081-1/+1
| |/ | | | | | | | | | | This tiny typo unfortunately makes root unable to use ssh, since ssh refuses to authenticate if your private key is globally readable, and the typo causes the private key to be given the public key's permissions.
* | Merge branch 'liw/fstab'Lars Wirzenius2013-05-082-9/+28
|\ \ | |/ |/| | | Reviewed-by: Richard Maw on irc
| * Add entry for / in fstab but only if there isn't oneLars Wirzenius2013-05-021-2/+18
| |
| * Create an empty fstab if one is missingLars Wirzenius2013-05-021-7/+10
|/
* Merge remote-tracking branch 'origin/baserock/richolland/branch-cache-repo--v2'Lars Wirzenius2013-04-231-1/+1
|\
| * morph branch caches previously uncached reposRichard Holland2013-04-121-1/+1
| | | | | | | | | | | | Like morph checkout, morph branch will cache a previously uncached repo rather than giving an error. The if statement checking for an already existant branch will now no longer raise an error when repo is uncached.
* | Merge branch 'liw/rootfs-tarballs-only'Lars Wirzenius2013-04-2317-34/+33
|\ \ | | | | | | | | | Reviewed-by: Daniel Silverstone
| * | Fix run-in-artifact testLars Wirzenius2013-04-231-1/+1
| | | | | | | | | | | | | | | Previously, we were building a disk image, and that had a factory sub-volume, but now we're building a rootfs tarball instead, and that doesn't have a factory.
| * | Disable make-patch test, since make-patch is brokenLars Wirzenius2013-04-232-7/+6
| | | | | | | | | | | | | | | | | | make-patch needs to be changed to work with rootfs-tarball systems, instead of disk images. This is not happening any time soon, so disable the test for now.
| * | Fix tests to use rootfs-tarball system-kinds, instead of disksLars Wirzenius2013-04-2314-26/+26
|/ /
* | Merge remote-tracking branch ↵Lars Wirzenius2013-04-124-1/+47
|\ \ | | | | | | | | | | | | | | | 'origin/baserock/richardholland/empty-stratum-error' Reviewed-by: Lars Wirzenius
| * | Corrections to previous commitsRichard Holland2013-04-082-3/+3
| | | | | | | | | | | | | | | Removed trailing comma, corrected copyright year, used #pragma: no cover to exclude the exception class form coverage and allow ./check full to run.
| * | Added new test case for empty strataRichard Holland2013-04-083-0/+40
| | | | | | | | | | | | | | | Added a new test case that tests for new error from previous commit that changed the warning to an error when building an empty stratum.
| * | Changed empty stratum warning to errorRichard Holland2013-04-081-1/+7
| | | | | | | | | | | | | | | Added new cliapp.AppException class to raise error when attempting to build an empty stratum (no dependencies) and raised it appropriately.
* | | Fix copyright yearLars Wirzenius2013-04-121-1/+1
| | | | | | | | | | | | | | | We only have written this this year, so it should be copyright this year only.
* | | Merge branch 'master' of git://git.baserock.org/baserock/baserock/morphLars Wirzenius2013-04-121-3/+3
|\ \ \ | | |/ | |/|
| * | Fix nfsboot write-extensionJonathan Maw2013-04-081-3/+3
| |/ | | | | | | Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
* | Merge branch 'master' of git://git.baserock.org/baserock/baserock/morphLars Wirzenius2013-04-082-0/+193
|\ \ | |/
| * Merge branch 'jonathanmaw/deploy-nfsboot-rebase-3'Jonathan Maw2013-04-052-0/+193
| |\ | | | | | | | | | Reviewed-by: Lars Wirzenius <lars.wirzenius@codethink.co.uk>
| | * Add nfsboot write extensionJonathan Maw2013-04-051-0/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'location' command-line argument refers to the hostname of the 'nfsboot server', a baserock system that has an nfs server, the directory '/srv/nfsboot/nfs', and a tftp server that hosts files from the directory '/srv/nfsboot/tftp'. The write extension will read the hostname of the target system and copy its root filesystem to /srv/nfsboot/nfs/<hostname> and its kernel to /srv/nfsboot/tftp/<hostname>. It will then configure the nfs server to export that nfs root.
| | * Add nfsboot configuration extensionJonathan Maw2013-04-051-0/+32
| |/ | | | | | | | | | | | | | | | | This configuration-extension removes every network interface but the loopback interface from /etc/network/interfaces and stops /etc/fstab from mounting "/". It will only do this if the environment variable NFSBOOT_CONFIGURE is set on the `morph deploy` command-line.
* | Merge remote-tracking branch 'origin/baserock/richardholland/ssh-config-ext'Lars Wirzenius2013-04-052-0/+145
|\ \ | |/ |/|
| * Fixed error SSH configuration extensionRichard Holland2013-04-041-6/+8
| | | | | | | | | | | | Fixed error in function copy_rename_key that tried to place key in non existent directory. Required use of os.path.basename to leave name of key and remove rest of path.
| * Added status output to print out running extensionRichard Holland2013-04-031-0/+2
| | | | | | | | | | Terminal will let user know which extension (write or config) is being run.