12
12
mkdir -p "$backup/var/lib/eucalyptus" "$backup/etc/eucalyptus"
13
13
rm -f /var/backups/eucalyptus/UPGRADE_IN_PROGRESS.eucalyptus-common
14
14
ln -sf "$backup" /var/backups/eucalyptus/UPGRADE_IN_PROGRESS.eucalyptus-common
16
16
cp -a /etc/eucalyptus/eucalyptus.conf "$backup/etc/eucalyptus/"
17
18
# We know we're upgrading from Karmic; hardcode the backup old version to "1.6.1"
18
19
# because that's what the euca_upgrade is hardcoded to expect :-/
19
20
echo "1.6.1" > "$backup/etc/eucalyptus/eucalyptus-version"