mirror of
https://github.com/lxc/lxc-templates.git
synced 2024-12-22 06:20:13 +00:00
sabayon: Don't fail on existing directories
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
3cf05db0d9
commit
a5eea201a1
@ -262,9 +262,9 @@ systemd_container_tuning () {
|
||||
|
||||
# Fix this stupid error until fix is available on sabayon image
|
||||
# /usr/lib/systemd/system-generators/gentoo-local-generator: line 4: cd: /etc/local.d: No such file or directory
|
||||
mkdir ${rootfs}/etc/local.d/
|
||||
mkdir -p ${rootfs}/etc/local.d/
|
||||
|
||||
mkdir ${rootfs}/etc/systemd/system/NetworkManager.service.d/
|
||||
mkdir -p ${rootfs}/etc/systemd/system/NetworkManager.service.d/
|
||||
cat <<EOF > ${rootfs}/etc/systemd/system/NetworkManager.service.d/override.conf
|
||||
[Service]
|
||||
ExecStartPre=-/bin/ip -4 link set dev eth0 down
|
||||
|
Loading…
Reference in New Issue
Block a user