migrate: use sudo for setup command

This commit is contained in:
tschettervictor
2025-05-06 09:06:30 -06:00
committed by GitHub
parent d7f9ce8050
commit 128d5f2253

View File

@@ -132,7 +132,7 @@ migrate_create_export() {
# Ensure new migrate directory is created
bastille setup -f
ssh ${_user}@${_host} bastille setup -f
ssh ${_user}@${_host} sudo bastille setup -f
# --xz for ZFS, otherwise --txz
if checkyesno bastille_zfs_enable; then