diff options
author | Javier Jardón <jjardon@gnome.org> | 2017-11-26 17:37:14 +0000 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2017-11-27 00:42:19 +0000 |
commit | 5be9d0b3a00b9072b4fd900a7f12a04c9afdec50 (patch) | |
tree | d241939dfdf71709b9d2b6f05dbd10c05c04b1d9 /unmaintained/clusters/upgrade-devel.morph | |
parent | 601b834b8c131f9ab03497658844307f8fd2eca3 (diff) | |
download | definitions-5be9d0b3a00b9072b4fd900a7f12a04c9afdec50.tar.gz |
Move -devel systems to the unmaintained/ folder
Diffstat (limited to 'unmaintained/clusters/upgrade-devel.morph')
-rw-r--r-- | unmaintained/clusters/upgrade-devel.morph | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/clusters/upgrade-devel.morph b/unmaintained/clusters/upgrade-devel.morph new file mode 100644 index 00000000..44759ac2 --- /dev/null +++ b/unmaintained/clusters/upgrade-devel.morph @@ -0,0 +1,39 @@ +name: upgrade-devel +kind: cluster +description: | + This is a cluster morphology that can be used to deploy systems to a + an existing Baserock devel system, as an upgrade of the running system. + + This method is for users who deployed a system manually from one of the + images provided on http://download.baserock.org. IT IS ONLY POSSIBLE TO + UPGRADE BASEROCK 14 RELEASES OR NEWER. + + If you deployed your system using `morph deploy` then you should reuse the + cluster morphology you did the initial deployment with, instead of this one, + so that the configuration is preserved in the new system. + + Ensure that your root user has passwordless SSH access to localhost with + `ssh root@localhost whoami`. If not, run `ssh-copy-id root@localhost`. + Make sure the 'morph' field below matches the system you are upgrading. + + To upgrade, select a sensible a value for VERSION_LABEL and run: + + morph upgrade clusters/upgrade-devel.morph self.HOSTNAME=$(hostname) self.VERSION_LABEL=$VERSION_LABEL + + Your configuration in /etc should be propagated to the new system, but there + may be merge conflicts. Check /etc for files named '.rej' and '.orig' in the + new system, which will indicate that there are changes from the old system + that must be merged manually. You can get a nice diff from the old /etc as + follows: + + mount /dev/sda /mnt + git diff --no-index /mnt/systems/factory/run/etc /mnt/systems/$VERSION_LABEL/run/etc + + On a base system, use 'diff -r' instead of 'git diff --no-index'. It will + not be as colourful. +systems: +- morph: unmaintained/systems/devel-system-x86_64-generic.morph + deploy: + self: + upgrade-type: extensions/ssh-rsync + upgrade-location: root@127.0.0.1 |