bionic_fix
This commit is contained in:
parent
7b6ccc4806
commit
1607afb78b
1 changed files with 2 additions and 0 deletions
|
@ -142,6 +142,8 @@ ssh "$DEST_IP" -p $DEST_PORT zfs set mountpoint=/var/lib/lxd/storage-pools/"$DES
|
||||||
|
|
||||||
echo "Fixing config for bionic"
|
echo "Fixing config for bionic"
|
||||||
ssh "$DEST_IP" -p $DEST_PORT sed -i '/volatile.idmap.current/d' /var/lib/lxd/storage-pools/"$DEST_ZPOOL_2"/containers/"$CONT_VAR"/backup.yaml
|
ssh "$DEST_IP" -p $DEST_PORT sed -i '/volatile.idmap.current/d' /var/lib/lxd/storage-pools/"$DEST_ZPOOL_2"/containers/"$CONT_VAR"/backup.yaml
|
||||||
|
ssh "$DEST_IP" -p $DEST_PORT sed -i '/volatile.uuid/d' /var/lib/lxd/storage-pools/"$DEST_ZPOOL_2"/containers/"$CONT_VAR"/backup.yaml
|
||||||
|
|
||||||
|
|
||||||
echo "Importing "$CONT_VAR" on destination"
|
echo "Importing "$CONT_VAR" on destination"
|
||||||
ssh "$DEST_IP" -p $DEST_PORT lxd import "$CONT_VAR" --force
|
ssh "$DEST_IP" -p $DEST_PORT lxd import "$CONT_VAR" --force
|
||||||
|
|
Loading…
Reference in a new issue