I wish to clone a jail from a snapshot of another using iocage-1.2.5 on a host running FreeBSD-12.3-RELEASE. I searched for snapshots of the jail that I wish to clone:
The iocage advanced usage documentation states:
# iocage clone www01 --name www02
Clone a jail from an existing snapshot with:
# iocage clone www01@snapshotname --name www03
So I tried the following:
What am I missing?
Code:
iocage snaplist dns38-2
. . .
+-----------------------------------------------------+-----------------------+-------+-------+
| 2022-01-03_02.00.00--6w | Mon Jan 3 2:00 2022 | 145K | 0 |
+-----------------------------------------------------+-----------------------+-------+-------+
| 2022-01-03_02.00.00--6w/root | Mon Jan 3 2:00 2022 | 7.83G | 71.3M |
+-----------------------------------------------------+-----------------------+-------+-------+
. . .
Create a Clone
To clone www01 to www02, run:# iocage clone www01 --name www02
Clone a jail from an existing snapshot with:
# iocage clone www01@snapshotname --name www03
So I tried the following:
Code:
# iocage clone --newmac --thickjail dns38-2@2022-01-03_02.00.00--6w --name DNS38-test
jail 'dns38-2@2022-01-03_02.00.00--6w' not found!
What am I missing?