diff options
author | Justin chi <chigang@huawei.com> | 2016-11-10 23:40:55 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-11-10 23:40:55 +0000 |
commit | 0c420f2c322309b1ab059e1a240ef0ed37828b17 (patch) | |
tree | f228c64915f992e0630c96851b6a6a3556056921 /deploy/adapters | |
parent | 16e243e81874457694b0c2408d1024a7bc328fc7 (diff) | |
parent | 3c4ef96aaab88294154f15f9a9a74918dad0b581 (diff) |
Merge "workaround: xenial lvm boot error" into stable/colorado
Diffstat (limited to 'deploy/adapters')
-rw-r--r-- | deploy/adapters/cobbler/kickstarts/default16.seed | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy/adapters/cobbler/kickstarts/default16.seed b/deploy/adapters/cobbler/kickstarts/default16.seed index 091b78f1..af6c9c39 100644 --- a/deploy/adapters/cobbler/kickstarts/default16.seed +++ b/deploy/adapters/cobbler/kickstarts/default16.seed @@ -140,6 +140,12 @@ d-i cdrom-detect/eject boolean false d-i preseed/late_command string \ in-target sed -i '$a UseDNS no' /etc/ssh/sshd_config; \ in-target sed -i 's/.*GSSAPIAuthentication.*/GSSAPIAuthentication no/g' /etc/ssh/sshd_config; \ +in-target sed -i '$d' /usr/share/initramfs-tools/scripts/local-top/lvm2; \ +in-target echo "lvm vgchange -ay" >> /usr/share/initramfs-tools/scripts/local-top/lvm2; \ +in-target echo "exit 0" >> /usr/share/initramfs-tools/scripts/local-top/lvm2; \ +in-target touch /etc/initramfs-tools/scripts/local-top/lvm2; \ +in-target chmod 777 /etc/initramfs-tools/scripts/local-top/lvm2; \ +in-target echo "vgchange -a y" >> /etc/initramfs-tools/scripts/local-top/lvm2; \ wget -O- \ http://$http_server/cblr/svc/op/script/$what/$name/?script=preseed_late_default | \ chroot /target /bin/sh -s; cp /target/etc/network/interfaces /etc/network/interfaces; \ |