[pve-devel] applied: [PATCH container] fix #5762: lxc: setup: support `opensuse-slowroll` as OpenSUSE flavor

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Oct 24 19:12:32 CEST 2024


Am 11/10/2024 um 13:29 schrieb Christoph Heiss:
> See the original bug report [0]. OpenSUSE Tumbleweed Slowroll fails to
> be detected corrected due to featuring a different ID in
> /etc/os-release.
> 
> Simply map that ID to the existing opensuse plugin - much like
> Tumbleweed itself. Slowroll is basically just a midway solution between
> Leap and Tumbleweed, so there shouldn't be any incompatibilities
> really - since we determine specifics in the plugin by version anyway.
> 
> [0] https://bugzilla.proxmox.com/show_bug.cgi?id=5762
> [1] https://en.opensuse.org/Portal:Slowroll
> 
> Signed-off-by: Christoph Heiss <c.heiss at proxmox.com>
> ---
>  src/PVE/LXC/Setup.pm                          |  1 +
>  src/test/test-opensuse-slowroll-001/config    |  5 +++++
>  .../test-opensuse-slowroll-001/etc/hosts.exp  |  5 +++++
>  .../test-opensuse-slowroll-001/etc/os-release | 16 +++++++++++++++
>  .../etc/resolv.conf.exp                       |  5 +++++
>  .../test-opensuse-slowroll-001/etc/securetty  |  7 +++++++
>  .../etc/securetty.exp                         | 12 +++++++++++
>  .../etc/sysconfig/network/ifcfg-eth0.exp      |  3 +++
>  .../etc/sysconfig/network/ifcfg-eth1.exp      |  3 +++
>  .../etc/sysconfig/network/ifcfg-eth2.exp      |  2 ++
>  .../etc/sysconfig/network/ifcfg-eth3.exp      |  2 ++
>  .../etc/sysconfig/network/ifroute-eth0.exp    |  3 +++
>  .../etc/sysconfig/network/ifroute-eth1        |  1 +
>  .../etc/sysconfig/network/ifroute-eth1.exp    |  1 +
>  .../root/.ssh/authorized_keys.exp             |  3 +++
>  .../systemd/system/container-getty at .service   | 20 +++++++++++++++++++
>  16 files changed, 89 insertions(+)
>  create mode 100644 src/test/test-opensuse-slowroll-001/config
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/hosts.exp
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/os-release
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/resolv.conf.exp
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/securetty
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/securetty.exp
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/sysconfig/network/ifcfg-eth0.exp
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/sysconfig/network/ifcfg-eth1.exp
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/sysconfig/network/ifcfg-eth2.exp
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/sysconfig/network/ifcfg-eth3.exp
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/sysconfig/network/ifroute-eth0.exp
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/sysconfig/network/ifroute-eth1
>  create mode 100644 src/test/test-opensuse-slowroll-001/etc/sysconfig/network/ifroute-eth1.exp
>  create mode 100644 src/test/test-opensuse-slowroll-001/root/.ssh/authorized_keys.exp
>  create mode 100644 src/test/test-opensuse-slowroll-001/usr/lib/systemd/system/container-getty at .service
> 
>

applied, thanks!




More information about the pve-devel mailing list