automatix/upgrade_debian_bullseye: do zfs another way

This commit is contained in:
Franzi 2023-05-20 11:47:39 +02:00
parent 2d433264e7
commit b955633a23
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -17,9 +17,6 @@ pipeline:
- remote@node: DEBIAN_FRONTEND=noninteractive apt-get -y -q -o Dpkg::Options::=--force-confold dist-upgrade
- remote@node: DEBIAN_FRONTEND=noninteractive apt-get -y -q -o Dpkg::Options::=--force-confold dist-upgrade
# export zpool so we can import it later
- has_zfs?remote@node: zpool export tank
# reboot into bullseye
- remote@node: systemctl reboot
- local: |
@ -32,7 +29,7 @@ pipeline:
done
# fix zfs and reboot again
- has_zfs?remote@node: zpool import tank
- has_zfs?remote@node: zpool import tank -f
- has_zfs?remote@node: zpool upgrade -a
- has_zfs?remote@node: systemctl reboot
- has_zfs?local: |