LXD Try It workflow breaks
Closed this issue · 2 comments
bwhillers commented
Stepping thru LXD "Try It", cannot restore from the snapshotted state (after breaking container step).
root@tryit-session:~#
After this operation, 98.3 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic/universe amd64 sl amd64 3.03-17build2 [26.4 kB]
Fetched 26.4 kB in 0s (0 B/s)
Selecting previously unselected package sl.
(Reading database ... 13967 files and directories currently installed.)
Preparing to unpack .../sl_3.03-17build2_amd64.deb ...
Unpacking sl (3.03-17build2) ...
Setting up sl (3.03-17build2) ...
....
....
root@tryit-knowing:~# lxc snapshot first clean
root@tryit-knowing:~# lxc exec first -- rm -Rf /etc /usr
root@tryit-knowing:~# lxc exec first -- bash
I have no name!@first:~# lxc restore first clean
bash: lxc: command not found
I have no name!@first:~#
stgraber commented
You missed the (then exit)
part of that instruction.
bwhillers commented
Right. :/
Maybe add this to the code block?
exit
Very nice resource - cheers.