Hi,
Very strangely I followed the above guide and after stopping the lxc container, it won't restart. The error is:
Code:
root@littleman:/etc/pve/lxc# lxc-start -n 100 -F --logfile /tmp/log
lxc-start: 100: conf.c: run_buffer: 316 Script exited with status 1
lxc-start: 100: start.c: lxc_init: 816 Failed to run lxc.hook.pre-start for container "100"
lxc-start: 100: start.c: __lxc_start: 2007 Failed to initialize container "100"
lxc-start: 100: tools/lxc_start.c: main: 308 The container failed to start
lxc-start: 100: tools/lxc_start.c: main: 313 Additional information can be obtained by setting the --logfile and --logpriority options
root@littleman:/etc/pve/lxc# cat /tmp/log
lxc-start 100 20210802144046.737 ERROR conf - conf.c:run_buffer:316 - Script exited with status 1
lxc-start 100 20210802144046.738 ERROR start - start.c:lxc_init:816 - Failed to run lxc.hook.pre-start for container "100"
lxc-start 100 20210802144046.738 ERROR start - start.c:__lxc_start:2007 - Failed to initialize container "100"
lxc-start 100 20210802144047.607 ERROR lxc_start - tools/lxc_start.c:main:308 - The container failed to start
lxc-start 100 20210802144047.607 ERROR lxc_start - tools/lxc_start.c:main:313 - Additional information can be obtained by setting the --logfile and --logpriority options
Is there anything I can do so I can log back in and unset the changes to resolv.conf?