automatix/upgrade_debian_bullseye: do zfs another way
This commit is contained in:
parent
2d433264e7
commit
b955633a23
1 changed files with 1 additions and 4 deletions
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue