Open Teg79 opened 4 years ago
There is a script /opt/bootsync.sh
in TCL, where you can do such things
Actually there are two, but that is more for if you want to do slow things.
#!/bin/sh
# put other system startup commands here, the boot process will wait until they complete.
# Use bootlocal.sh for system startup commands that can run in the background
# and therefore not slow down the boot process.
We use it to call a script in the persisted part, where you can add your own things:
/var/lib/boot2podman/bootlocal.sh
if [ -e /var/lib/boot2podman/bootlocal.sh ]; then
sh /var/lib/boot2podman/bootlocal.sh &
fi
/opt/bootlocal.sh &
Rebuilding the image is also an option, add links/mount like we do for other things.
I need to add registries and insecure registries to podman conf, but after a
podman-machine restart box
I lose the configuration. Is there any way to make it persistent across restarts?A solution I'm working on is to mount a host folder as /etc/containers but it would be great to have an official solution on the readme