TODO: Browse jailed ZFS dataset to migrate them
This commit is contained in:
parent
31961b8e3a
commit
52916f9ae9
@ -88,6 +88,10 @@ func MigrateJail(args []string) {
|
||||
}
|
||||
fmt.Printf("Done\n")
|
||||
|
||||
|
||||
// TODO: Browse jailed ZFS dataset to migrate them (see poudriere for example)
|
||||
// zfs send -R src/poudriere@init | zfs receive -Fu dest/poudriere
|
||||
|
||||
dsconfdest := strings.Join([]string{destDS.ZFSDataset, "jails", jn}, "/")
|
||||
fmt.Printf("Migrate jail config dataset to %s: ", dsconfdest)
|
||||
if err := zfsCopy(fmt.Sprintf("%s@gocage_mig_init", dsconf), dsconfdest); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user