From 7165de92fe49627194cf2fabc0474fb28464f2b0 Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Sun, 12 Nov 2017 19:47:41 +0100 Subject: p/fuel: kvm nodes: Configure repos before new krn Armband requires a custom kernel on baremetal nodes (kvm, cmp). However, the repos (configured as part of `linux.system` high state) were added before installing the kernel only for cmp nodes. Change-Id: Ie8d6e9cf4eaa84c459a70112ef002d09be9c4cf4 Signed-off-by: Alexandru Avadanii (cherry picked from commit 80f5ef39fb9057f42370333bb4d465349efe52b3) --- ...0014-baremetal-linux-image-generic-hwe-16.04-edge.patch | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/patches/opnfv-fuel/0014-baremetal-linux-image-generic-hwe-16.04-edge.patch b/patches/opnfv-fuel/0014-baremetal-linux-image-generic-hwe-16.04-edge.patch index 670ac703..4cc6f7bb 100644 --- a/patches/opnfv-fuel/0014-baremetal-linux-image-generic-hwe-16.04-edge.patch +++ b/patches/opnfv-fuel/0014-baremetal-linux-image-generic-hwe-16.04-edge.patch @@ -27,15 +27,19 @@ JIRA: ARMBAND-280 Signed-off-by: Alexandru Avadanii --- - mcp/config/states/virtual_control_plane | 3 +++ - 1 file changed, 3 insertions(+) + mcp/config/states/virtual_control_plane | 5 ++++- + 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mcp/config/states/virtual_control_plane b/mcp/config/states/virtual_control_plane -index 585a808..b4e25a0 100755 +index 585a808..13bd63d 100755 --- a/mcp/config/states/virtual_control_plane +++ b/mcp/config/states/virtual_control_plane -@@ -30,6 +30,9 @@ salt -C 'kvm*' state.apply linux.network - salt -C 'cmp*' state.apply linux.system +@@ -27,9 +27,12 @@ salt -C 'kvm* or cmp*' file.replace $debian_ip_source \ + salt -C 'kvm*' pkg.install bridge-utils + salt -C '*' state.apply opnfv.adduser + salt -C 'kvm*' state.apply linux.network +-salt -C 'cmp*' state.apply linux.system ++salt -C 'kvm* or cmp*' state.apply linux.system salt -C 'cmp*' state.apply linux.network || true salt -C 'kvm*' state.apply armband.bootstrap_script_arm64 || true +# NOTE(armband): Should be later moved to reclass as system.kernel.version -- cgit 1.2.3-korg