The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxc-ci/pull/77

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From a129e6ab7bb70ca99be621996256d5fab33b9615 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Tue, 10 Sep 2019 22:52:19 +0200
Subject: [PATCH] images: Fix cloud-init on openSUSE

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 images/opensuse.yaml | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/images/opensuse.yaml b/images/opensuse.yaml
index 91069c6..bf48b92 100644
--- a/images/opensuse.yaml
+++ b/images/opensuse.yaml
@@ -129,3 +129,26 @@ packages:
       action: install
       variants:
        - cloud
+
+actions:
+ - trigger: post-packages
+   action: |-
+     #!/bin/sh
+     set -eux
+
+     # Have the sysconfig network renderer support openSUSE Tumbleweed
+     sed -i "s|'opensuse'|'opensuse-tumbleweed'|" $(find /usr -wholename 
'*/cloudinit/net/sysconfig.py')
+   releases:
+     - tumbleweed
+   variants:
+     - cloud
+
+ - trigger: post-packages
+   action: |-
+     #!/bin/sh
+     set -eux
+
+     # Enable the cloud-init systemd service
+     systemctl enable cloud-init.service
+   variants:
+     - cloud
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to