Merge pull request #6502 from dmacvicar/fix-dhcp-on-suse
SUSE-flavored systems use STARTMODE and not ONBOOT
This commit is contained in:
commit
f1827602f2
|
@ -1,6 +1,6 @@
|
||||||
#VAGRANT-BEGIN
|
#VAGRANT-BEGIN
|
||||||
# The contents below are automatically generated by Vagrant. Do not modify.
|
# The contents below are automatically generated by Vagrant. Do not modify.
|
||||||
BOOTPROTO=dhcp
|
BOOTPROTO='dhcp'
|
||||||
ONBOOT=yes
|
STARTMODE='auto'
|
||||||
DEVICE=eth<%= options[:interface] %>
|
DEVICE='eth<%= options[:interface] %>'
|
||||||
#VAGRANT-END
|
#VAGRANT-END
|
||||||
|
|
|
@ -12,9 +12,9 @@ describe "templates/guests/suse/network_dhcp" do
|
||||||
expect(result).to eq <<-EOH.gsub(/^ {6}/, "")
|
expect(result).to eq <<-EOH.gsub(/^ {6}/, "")
|
||||||
#VAGRANT-BEGIN
|
#VAGRANT-BEGIN
|
||||||
# The contents below are automatically generated by Vagrant. Do not modify.
|
# The contents below are automatically generated by Vagrant. Do not modify.
|
||||||
BOOTPROTO=dhcp
|
BOOTPROTO='dhcp'
|
||||||
ONBOOT=yes
|
STARTMODE='auto'
|
||||||
DEVICE=ethen0
|
DEVICE='ethen0'
|
||||||
#VAGRANT-END
|
#VAGRANT-END
|
||||||
EOH
|
EOH
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue