I’m in a situation where I need to upgrade ~20 LXD containers from 16.04 to 18.04 to 20.04. I’ve created a test container to see how well this will work. Due to the large number of containers, I’d prefer not to sit around answering questions - . Google hunting revealed
lxc exec <vm> -- script /dev/null -c do-release-upgrade -f DistUpgradeViewNonInteractive
However, I’m still being prompted to answer questions - not as many as without
-f DistUpgradeViewNonInteractive, but still a little annoying.
Question: “Is it possible to have a totally silent upgrade that will take me from 16.04 to 18.04 to 20.04?”
I was hoping to script this - i.e.:
for i in 1 2; do lxc exec ... #ignore any errors and continue - I'll fix them later when I'm at 20.04 done