diff --git a/templates/guests/suse/network_dhcp.erb b/templates/guests/suse/network_dhcp.erb index 8bbaa62e4..3504b265e 100644 --- a/templates/guests/suse/network_dhcp.erb +++ b/templates/guests/suse/network_dhcp.erb @@ -1,6 +1,6 @@ #VAGRANT-BEGIN # The contents below are automatically generated by Vagrant. Do not modify. -BOOTPROTO=dhcp -ONBOOT=yes -DEVICE=eth<%= options[:interface] %> +BOOTPROTO='dhcp' +STARTMODE='auto' +DEVICE='eth<%= options[:interface] %>' #VAGRANT-END diff --git a/test/unit/templates/guests/suse/network_dhcp_test.rb b/test/unit/templates/guests/suse/network_dhcp_test.rb index 82595db47..1ecb4dc1f 100644 --- a/test/unit/templates/guests/suse/network_dhcp_test.rb +++ b/test/unit/templates/guests/suse/network_dhcp_test.rb @@ -12,9 +12,9 @@ describe "templates/guests/suse/network_dhcp" do expect(result).to eq <<-EOH.gsub(/^ {6}/, "") #VAGRANT-BEGIN # The contents below are automatically generated by Vagrant. Do not modify. - BOOTPROTO=dhcp - ONBOOT=yes - DEVICE=ethen0 + BOOTPROTO='dhcp' + STARTMODE='auto' + DEVICE='ethen0' #VAGRANT-END EOH end