mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-05-28 04:36:05 -04:00
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
2 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue