mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2025-06-14 09:29:19 -04:00
Delete rpool/copyroot dataset
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
6edffffc85
commit
cea952ae7e
1 changed files with 3 additions and 0 deletions
|
@ -47,6 +47,9 @@ zfs create -o encryption=on -o keyformat=passphrase rpool/ROOT
|
||||||
# Copy the files from the copy to the new encrypted zfs root
|
# Copy the files from the copy to the new encrypted zfs root
|
||||||
zfs send -R rpool/copyroot/pve-1@copy | zfs receive -o encryption=on rpool/ROOT/pve-1
|
zfs send -R rpool/copyroot/pve-1@copy | zfs receive -o encryption=on rpool/ROOT/pve-1
|
||||||
|
|
||||||
|
# Deviate from the original gist and delete copyroot
|
||||||
|
zfs destroy -r rpool/copyroot
|
||||||
|
|
||||||
# Set the Mountpoint
|
# Set the Mountpoint
|
||||||
zfs set mountpoint=/ rpool/ROOT/pve-1
|
zfs set mountpoint=/ rpool/ROOT/pve-1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue