Folks,
Been doing some work on a Ubuntu antlet and updating the .yaml file. After finishing, I attempt a "sudo netplan apply" command but it fails with an error message:
eth0: Failed to write 'change' to '/sys/devices/virtual/net/eth0/uevent': Read-only file system
I did some research (using CoPilot) who suggested that I could adjust the container's configuration file to allow write access to /sys. Specifically I should make a change to the <container-name>.conf file in either the /etc/lxc/ directory or the /var/lib/lxc/ directory. Unfortunately there doesn't seem to be directories at those locations on the Antsle.
If found, the suggestion was to add a line:
lxc.mount.entry = sys sysfs rw 0 0
then execute the following two commands:
lxc-stop -n <container-name>
lxc-start -n <container-name>
I'm not entirely sure what <container-name> refers to. Either "lxc" or "ubuntu" (the antlet's name)
Any suggestions/insights?