From 826c2d975440d927bfcff262b9d7a4811de640d2 Mon Sep 17 00:00:00 2001 From: Mikhail Gordeev Date: Fri, 14 Jul 2023 16:44:59 +0300 Subject: [PATCH] Set _netsharedpath macro to fix error with filesystem installation --- configs/cb-aarch64.yaml | 10 ++++++++++ configs/cb-ve-other.yaml | 10 ++++++++++ configs/cb-ve-x86.yaml | 10 ++++++++++ 3 files changed, 30 insertions(+) diff --git a/configs/cb-aarch64.yaml b/configs/cb-aarch64.yaml index a605bf7..520c851 100644 --- a/configs/cb-aarch64.yaml +++ b/configs/cb-aarch64.yaml @@ -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 diff --git a/configs/cb-ve-other.yaml b/configs/cb-ve-other.yaml index bf3275d..65c72b9 100644 --- a/configs/cb-ve-other.yaml +++ b/configs/cb-ve-other.yaml @@ -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 diff --git a/configs/cb-ve-x86.yaml b/configs/cb-ve-x86.yaml index ded7d98..42ec7d5 100644 --- a/configs/cb-ve-x86.yaml +++ b/configs/cb-ve-x86.yaml @@ -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