From 94e7eb26f7e0749dbc7ea17c75a6a4838d271b2e Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 16 Jun 2016 04:07:25 +0000 Subject: --- doc/forum/Systemd_container_pre-setup_properties.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/forum/Systemd_container_pre-setup_properties.mdwn (limited to 'doc/forum') diff --git a/doc/forum/Systemd_container_pre-setup_properties.mdwn b/doc/forum/Systemd_container_pre-setup_properties.mdwn new file mode 100644 index 00000000..1cb94d66 --- /dev/null +++ b/doc/forum/Systemd_container_pre-setup_properties.mdwn @@ -0,0 +1,3 @@ +When creating a systemd container, what would be the best way to execute properties before propellor is run inside the container proper? + +I'm trying to setup packages for networking in a systemd container, but I first need the network to get the packages. Ideally, we should be able to run a few properties on the chroot that are used when creating a systemd container (and therefore use the host network). So far, I've solved this by adding the properties in the Systemd.Core.installed property. Not nice, but works if all your systemd containers are the same. I've tried creating a chroot myself, tar it and pass that to Systemd.container, but things got a little complicated. It also requires additional properties on the host that have to be moved if the container moved to another host. -- cgit v1.2.3