summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* fuse.morph: simplify morphologyJavier Jardón2015-06-091-2/+1
| | | | Change-Id: Ia283e3d4aa5b09f388d16d271fd308f129d523fa
* Make sed and diff not depend on gitJavier Jardón2015-06-072-4/+6
| | | | Change-Id: If8cd1c3632488ac28bb3f65af004d4f6d12a1999
* Use latest zlib (1.2.8)Javier Jardón2015-06-072-12/+2
| | | | | | Also remove morph file as doesnt seem to be needed Change-Id: I2be278552baee752db39d1af7f95e7e98de75cf9
* Fix some strata to depend on core instead foundationJavier Jardón2015-06-074-3/+4
| | | | Change-Id: If4d143dc41eebd901cc5670850ecec6ddb84c6cb
* parted.morph: Make parted not depend on rsyncJavier Jardón2015-06-071-0/+1
| | | | | | Similar to what we do with coreutils components Change-Id: Ice0ad31adb4afdeca74c6eab886d3506e70e994e
* Use unbundled version of gudev instead of the version bundled with systemdJavier Jardón2015-06-052-0/+6
| | | | | | | | gudev now lives in a different repository and will be removed soon from the systemd tree This also means systemd no longer depends on GLib. Change-Id: I316945cb17f3d41b7f4e4693fa645b0acdf03fac
* Update initramfs-test cluster to demonstrate how to use a shutdownramfsRichard Maw2015-06-041-0/+5
| | | | Change-Id: I3f5dcbc3484ad188366b5d9c151dbbf994efaf93
* initramfs: Update to include shutdownramfs supportRichard Maw2015-06-042-3/+2
| | | | Change-Id: I4f618fe3ba1c7ffe8be2226564f7c95d150d22fd
* tbdiff: Update to fix failure to deploy when files in /etc contain \Richard Maw2015-06-041-1/+1
| | | | Change-Id: I0fe801dda64a9a20a27e3d67aa36cb12560a1f3a
* gobject-introspection: depend on bashJavier Jardón2015-06-041-0/+1
| | | | | ... to avoid build failure when building gobject-introspection Change-Id: I9efdbe7063595fe147e00b4e5335ba6a32afa582
* libvirt.morph: Don't autostart the default networkPedro Alvarez2015-06-031-0/+3
| | | | | | | | | | | | | Remove the symlink that enables the default network to autostart. It's helpful to have a default network, but starting it automatically may create some confusion to the network if you didn't want it running, and didn't know it was there. I found that this network was running after configuring a OpenStack sub-network using the same range of IP addresses and suffering connectivity issues. Change-Id: I0d0c399236ba06547e20c6433f115633a97b01b9
* Fix install-essential-filesAdam Coldrick2015-06-031-2/+1
| | | | Change-Id: I6ace782d08aaa476e9da07d295724734e41b9837
* strata/foundation.morph: Upgrade to systemd v220Javier Jardón2015-06-031-2/+2
| | | | Change-Id: If22da124a46444fbcde69b12ff50ca3d44300173
* Fix bison dependencies so that it builds without git and bashRichard Dale2015-06-022-3/+5
| | | | Change-Id: Idd1a0c155f2872c2b4aba64fa388e505e04fe7ab
* Merge branch 'baserock/adamcoldrick/all-exts-in-definitions-v2'Adam Coldrick2015-06-02376-512/+3814
|\ | | | | | | Reviewed-by: Richard Maw <richard.maw@codethink.co.uk>
| * Move all the directories used for install-files into a subdirectorybaserock/adamcoldrick/all-exts-in-definitions-v2Adam Coldrick2015-06-02210-15/+15
| | | | | | | | Change-Id: I309c183ce8b9ff9d0f5ac4807244547f2cc4ddf5
| * Move chef-system-x86_64-container.morph into systems subdirectoryAdam Coldrick2015-06-021-0/+0
| | | | | | | | Change-Id: I9a523f5bbe744225b1f5fe30f29d197596337290
| * Move extensions into a subdirectoryAdam Coldrick2015-06-02180-498/+498
| | | | | | | | Change-Id: I12e7c03b30da78da1eb220d2826ce0003d6efe2e
| * Put the deployment extensions from morphlib in definitionsAdam Coldrick2015-06-0240-0/+3302
| |\ |/ / | | | | | | This merge commit merges the deployment extensions and all relevant history from morphlib into definitions.
| * Use keystoneclient python api in openstack.checkRichard Ipsum2015-05-291-29/+28
| | | | | | | | | | | | | | Switching to the keystoneclient python api gives us a more reliable means of detecting auth failure. Change-Id: I5f734bbfe5568c855f524a3448357f7cf46ab254
| * Fix mistake in sysroot.writeSam Thursfield2015-05-081-1/+1
| | | | | | | | | | | | The * should not be in quotes. Change-Id: Ieebdc7532ba1bff5ba9742f72440ed00b0c0de2a
| * Fix sysroot.write trying to overwrite existing filesSam Thursfield2015-05-072-11/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 807e6a90876c5469d242 changed the behaviour of sysroot.write to avoid deleting the contents of the sysroot. This was done so if you accidentally set 'sysroot=/' it wouldn't delete your whole system. It turns out that SDK deployments like clusters/sdk-example-cluster.morph depended on the contents of the directory being deleted. The system armv7lhf-cross-toolchain-system-x86_64.morph has a bunch of files installed by the cross-toolchain in /usr/armv7lhf-baserock-linux-gnueabi/sys-root. Previously sysroot.write would delete these, but since commit 807e6a90876c5469d242 it would fail with several errors like: mv: can't rename '/src/tmp/deployments/usr/armv7l.../sys-root/sbin' If we use 'cp -a' instead of 'mv' then it is slower to deploy, but there are no errors. I am still unsure why files from the cross-toolchain system are installed and then deleted. Although this patch fixes the immediate issue, I don't know if it's the right thing to do. It seems better to not install those files in the first place, if we do not need them. This commit also removes the check for the sysroot target location being empty. This doesn't work, because it runs /before/ the system being deployed is unpacked. Change-Id: I10671c2f3b2060cfb36f880675b83351c6cdd807
| * install-files.configure: make possible to overwrite symlinksJavier Jardón2015-04-301-1/+10
| | | | | | | | | | | | os.symlink will fail if the origin file/link already exist Change-Id: I8175c8dce699e55c3e39e35dfd45c0c19b8bd96d
| * Add ssh keys conf extRichard Ipsum2015-04-301-0/+25
| | | | | | | | Change-Id: I4e7888cbff2e4708154538f8f0a48aeaa1a8a811
| * Fix lines bigger than 79 characters in install-essential-files.configure.helpFrancisco Redondo Marchena2015-04-281-2/+2
| | | | | | | | | | | | This fixes morph check. Change-Id: I5f9c8f5e73c1976b623f9a75f97b5e9aa1887c44
| * Add install-essential-files configuration extensionJavier Jardón2015-04-282-0/+62
| | | | | | | | | | | | | | This is meant to add essential system files like /etc/profile, /etc/os-release ... Change-Id: I3d67b3a452b32205c5d3c7303d128bda80ce75de
| * Rename help file to work with 'help-extensions' subcommandPedro Alvarez2015-04-241-0/+0
| | | | | | | | Change-Id: Ibf7cf1f81998678f9354d77f52e54344294e89f7
| * Add distbuild-trove-nfsboot.writeSam Thursfield2015-04-213-0/+482
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The nfsboot.write deployment extension has been deprecated for a while because it's not generally useful. It's only used for deploying distbuild nodes to a Trove, as far as I know. We still need to support setting up a bunch of machines that boot over NFS from a Trove. But we can do this in a special-purpose .write extension. The new distbuild-trove-nfsboot.write is much more efficient than the more generic nfsboot.write: instead of treating each system individually (thus copying an almost identical ~2GB rootfs to the Trove once per node) it copies the system image to the Trove once, and /then/ sets up a rootfs per node. Upgrades are now supported, although the code assumes distbuild nodes are stateless (as they should be) so nothing special is done for upgrades, other than checking that there is already a version of the given system in existance. The new extension does not create an orig/ and run/ version of each system, because there is no need when the deployed system is stateless. There could be further gains in efficiency, but I don't have time to do them right now. This write extension is full of compromises, its goal is to better support the existing users who have a Trove and a distbuild network deployed via NFS. It is specifically not intended to be useful for other purposes. Change-Id: I9a50c58b714ed272212d1d6c55b289aaa96051b1
| * Add dns option to simple-network conf extRichard Ipsum2015-04-151-1/+8
| | | | | | | | Change-Id: I0f4490d76caca802536b21085ea0d770fb8c0798
| * Add template option to install-files conf extRichard Ipsum2015-04-111-10/+32
| | | | | | | | | | | | | | | | | | This adds an optional 'template' option to the install-files manifest format. A file declared as a template will be rendered using jinja2 with variables substituted in from the environment. Change-Id: I2ed6fe58f5fff315b42b7e4ec478ada851e0a70d
| * Make kvm deploy check that host has virt-installRichard Ipsum2015-04-071-0/+9
| | | | | | | | | | | | | | This allows us to catch a case where virt-install hasn't been installed on the host we're deploying to much earlier in the deployment process. Change-Id: I413ad804a7e8bef4fc2d1231411e01d30d0cb9e8
| * Fix: strip 'network=' from NIC_CONFIGRichard Ipsum2015-04-011-3/+11
| | | | | | | | | | | | Also ensure NIC_CONFIG begins with 'network=', 'bridge=' or is 'user' Change-Id: I3bcbd25eb2c9a05b7fa276697f97a1080cb0316e
| * simple-network: only try to rename "10-dhcp.network" if it actually existJavier Jardon2015-03-241-6/+8
| | | | | | | | Change-Id: I1521c0bdec4d7a6812f8988a2349e66b08161de8
| * simple-network: Use function to ensure directory path will existJavier Jardon2015-03-241-0/+2
| | | | | | | | Change-Id: I44693d15aa5e92d5f09720065788adff34f8685c
| * simple-network: Add functionn to create a path if it doesnt existJavier Jardon2015-03-241-0/+11
| | | | | | | | Change-Id: If011a5518fd30914c89b00099b9d05cff5cd3959
| * simple-network: separate creation of directory and file pathJavier Jardon2015-03-241-4/+8
| | | | | | | | Change-Id: Ic715815bbad3ef1ee9ab457b62a194eaef45744c
| * Add hosts.configureRichard Ipsum2015-03-181-0/+48
| | | | | | | | | | | | This adds a new config extension to allow deployments to write to /etc/hosts by adding HOSTS_x: </etc/hosts line> to a cluster morph in a similar manner to the fstab.configure extension.
| * Make fstab.configure use write_from_dictRichard Ipsum2015-03-181-18/+7
| |
| * Fix line lengths in morphlib/exts/simple-network.configureAdam Coldrick2015-03-171-5/+9
| | | | | | | | | | | | | | | | Some lines were more than 79 characters long. This was causing ./check --full to fail on master of morph. This commit fixes the lines in question. Change-Id: I80969d2d89d3922e021b716c250796188d7a7f4c
| * Merge branch 'jjardon/simple-network-networkd2'Javier Jardón2015-03-161-11/+131
| |\ | | | | | | | | | | | | Reviewed-By: Richard Maw <richard.maw@codethink.co.uk> Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk>
| | * simple-network.configure: Rename networkd file generated by systemd chunkJavier Jardón2015-03-161-0/+29
| | | | | | | | | | | | | | | Rename instead removal in case the user is already using a 10-dhcp.network file
| | * simple-network.configure: Update documentationJavier Jardón2015-03-161-6/+9
| | |
| | * simple-network.configure: Generate default network config files in a functionJavier Jardón2015-03-161-6/+20
| | | | | | | | | | | | | | | | | | Use DHCP by defaul in the default interfaces: - for /etc/networ/interfaces: "lo:loopback;eth0:dhcp,hostname=$(hostname)" - for networkd: "e*:dhcp"
| | * simple-network.configure: process pairs of parameters in a functionJavier Jardón2015-03-161-0/+29
| | |
| | * simple-network.configure: Add function to convert mask to cidr suffixJavier Jardón2015-03-161-0/+7
| | | | | | | | | | | | 255.255.255.0 -> 24
| | * simple-network.configure: Generate networkd .network files as wellJavier Jardón2015-03-161-0/+33
| | |
| | * simple-network.configure: Move the generation of /etc/network/interfaces to ↵Javier Jardón2015-03-161-1/+6
| | | | | | | | | | | | a function
| | * Use the modern way of the GPL copyright header: URL instead real addressJavier Jardón2015-03-1624-68/+44
| | | | | | | | | | | | Change-Id: I992dc0c1d40f563ade56a833162d409b02be90a0
| * | Use the modern way of the GPL copyright header: URL instead real addressJavier Jardón2015-03-1624-68/+44
| |/ | | | | | | Change-Id: I992dc0c1d40f563ade56a833162d409b02be90a0
| * Merge branch 'jjardon/no_build_depends'Javier Jardón2015-03-060-0/+0
| |\ | | | | | | | | | | | | | | | Reviewed-By: Paul Sherwood <paul.sherwood@codethink.co.uk> Reviewed-By: Sam Thursfield <sam.thursfield@codethink.co.uk> Reviewed-By: Pedro Alvarez <pedro.alvarez@codethink.co.uk>