Set _netsharedpath macro to fix error with filesystem installation

This commit is contained in:
Mikhail Gordeev 2023-07-14 16:44:59 +03:00
parent 2ad3b1c1b3
commit 826c2d9754
3 changed files with 30 additions and 0 deletions

View File

@ -22,6 +22,7 @@ images:
- method: lxd
scripts:
- securetty
- netsharedpath
rootfs-systemd-etcnet:
target: ve/systemd-etcnet
kinds:
@ -30,6 +31,7 @@ images:
- method: lxd
scripts:
- securetty
- netsharedpath
rootfs-sysvinit:
target: ve/sysvinit-etcnet
kinds:
@ -38,6 +40,7 @@ images:
- method: lxd
scripts:
- securetty
- netsharedpath
cloud:
target: vm/cloud-systemd
kinds:
@ -98,6 +101,13 @@ scripts:
echo pts/1 >> /etc/securetty
global: no
number: 1
netsharedpath:
contents: |
#!/bin/sh
echo %_netsharedpath /sys:/proc > /etc/rpm/macros.d/container
global: no
number: 20
apt_sources:
contents: |
#!/bin/sh

View File

@ -22,6 +22,7 @@ images:
- method: lxd
scripts:
- securetty
- netsharedpath
rootfs-systemd-etcnet:
target: ve/systemd-etcnet
kinds:
@ -30,6 +31,7 @@ images:
- method: lxd
scripts:
- securetty
- netsharedpath
rootfs-sysvinit:
target: ve/sysvinit-etcnet
kinds:
@ -38,6 +40,7 @@ images:
- method: lxd
scripts:
- securetty
- netsharedpath
exclude_branches:
- c8
@ -67,6 +70,13 @@ scripts:
echo console >> /etc/securetty
global: no
number: 1
netsharedpath:
contents: |
#!/bin/sh
echo %_netsharedpath /sys:/proc > /etc/rpm/macros.d/container
global: no
number: 20
apt_sources:
contents: |
#!/bin/sh

View File

@ -22,6 +22,7 @@ images:
- method: lxd
scripts:
- securetty
- netsharedpath
rootfs-systemd-etcnet:
target: ve/systemd-etcnet
kinds:
@ -30,6 +31,7 @@ images:
- method: lxd
scripts:
- securetty
- netsharedpath
rootfs-sysvinit:
target: ve/sysvinit-etcnet
kinds:
@ -38,6 +40,7 @@ images:
- method: lxd
scripts:
- securetty
- netsharedpath
exclude_branches:
- c8
@ -67,6 +70,13 @@ scripts:
echo console >> /etc/securetty
global: no
number: 1
netsharedpath:
contents: |
#!/bin/sh
echo %_netsharedpath /sys:/proc > /etc/rpm/macros.d/container
global: no
number: 20
apt_sources:
contents: |
#!/bin/sh