Browse Source

Fix Xen/Ganeti configuration promote pvgrub

Emmanuel Bouthenot 7 years ago
parent
commit
9db7bda8f2

+ 1 - 0
roles/hypervisor/tasks/xen.yml

@@ -5,6 +5,7 @@
     state: 'installed'
   with_items:
     - 'xen-linux-system-amd64'
+    - 'grub-xen-host'
     - 'bridge-utils'
     - 'debootstrap'
   when: with_xen

+ 1 - 1
roles/hypervisor/templates/ganeti/instance-debootstrap/jessie.conf.j2

@@ -41,7 +41,7 @@ SUITE="jessie"
 # EXTRA_PKGS="acpi-support-base,console-tools,udev,linux-image-686"
 # KVM, for squeeze/wheezy amd64:
 # EXTRA_PKGS="acpi-support-base,console-tools,udev,linux-image-amd64"
-EXTRA_PKGS="linux-image-amd64,python-apt,lsb-release,openssh-server"
+EXTRA_PKGS="linux-image-amd64,grub2-common,python-apt,lsb-release,openssh-server,grub2-common"
 
 # COMPONENTS: if defined, overrides the default debootstrap components
 # ("main"); when not defined, it will not passed to debootstrap

+ 1 - 1
roles/hypervisor/templates/ganeti/instance-debootstrap/stretch.conf.j2

@@ -41,7 +41,7 @@ SUITE="stretch"
 # EXTRA_PKGS="acpi-support-base,console-tools,udev,linux-image-686"
 # KVM, for squeeze/wheezy amd64:
 # EXTRA_PKGS="acpi-support-base,console-tools,udev,linux-image-amd64"
-EXTRA_PKGS="linux-image-amd64,python-apt,openssh-server,net-tools,apt-transport-https"
+EXTRA_PKGS="linux-image-amd64,grub2-common,python-apt,openssh-server,net-tools,apt-transport-https,grub2-common"
 
 # COMPONENTS: if defined, overrides the default debootstrap components
 # ("main"); when not defined, it will not passed to debootstrap