Commit 8da6c799 authored by Alain Takoudjou's avatar Alain Takoudjou

packer: debian 9 boot with mem hotplug enabled

parent 8a5753b6
...@@ -4,8 +4,9 @@ ...@@ -4,8 +4,9 @@
apt-get install -y net-tools apt-get install -y net-tools
# change default interface name to eth0 schema # change default interface name to eth0 schema
# enable memory hotplug auto configuration
sed -i 's#GRUB_CMDLINE_LINUX=.*#GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"#' /etc/default/grub sed -i 's#GRUB_CMDLINE_LINUX=.*#GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 memhp_default_state=online"#' /etc/default/grub
update-grub update-grub
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment