Guest User

git diff

a guest
May 26th, 2016
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.45 KB | None | 0 0
  1. diff --git a/playbooks/install.yaml b/playbooks/install.yaml
  2. index 0fbc3c8..e7af29c 100644
  3. --- a/playbooks/install.yaml
  4. +++ b/playbooks/install.yaml
  5. @@ -8,7 +8,7 @@
  6. - { role: bifrost-prep-for-install, when: skip_install is not defined }
  7. - bifrost-ironic-install
  8. - { role: bifrost-create-dib-image, dib_imagename: "{{ http_boot_folder }}/ipa", build_ramdisk: false, dib_os_element: "{{ ipa_dib_os_element|default('d
  9. - - { role: bifrost-create-dib-image, dib_imagename: "{{ deploy_image }}", dib_imagetype: "qcow2", dib_elements: "vm serial-console simple-init {{ extra_d
  10. + - { role: bifrost-create-dib-image, dib_imagename: "{{ deploy_image }}", dib_imagetype: "qcow2", dib_elements: "vm serial-console cloud-init-datasources
  11. environment:
  12. http_proxy: "{{ lookup('env','http_proxy') }}"
  13. https_proxy: "{{ lookup('env','https_proxy') }}"
  14.  
  15. diff --git a/playbooks/inventory/group_vars/baremetal b/playbooks/inventory/group_vars/baremetal
  16. index 32e65c9..52073a6 100644
  17. --- a/playbooks/inventory/group_vars/baremetal
  18. +++ b/playbooks/inventory/group_vars/baremetal
  19. @@ -5,6 +5,7 @@
  20. # The network interface that bifrost will be operating on. Defaults
  21. # to virbr0 in roles, can be overridden here.
  22. # network_interface: "virbr0"
  23. +network_interface: "eth2"
  24.  
  25. # The path to the SSH key to be utilized for testing and burn-in
  26. # to configuration drives. When set, it should be set in both baremetal
  27. diff --git a/playbooks/inventory/group_vars/localhost b/playbooks/inventory/group_vars/localhost
  28. index 01eec7d..02fdb7e 100644
  29. --- a/playbooks/inventory/group_vars/localhost
  30. +++ b/playbooks/inventory/group_vars/localhost
  31. @@ -1,10 +1,24 @@
  32. ---
  33. +# Disabling the DHCP server in bifrost as we have a standalone DHCP running in
  34. +# the setup.
  35. +include_dhcp_server: false
  36. +inventory_dhcp: false
  37. +
  38. +# inventory_dhcp: true
  39. +# network_interface: 'eth2'
  40. +# inventory_dhcp: true
  41. +# dhcp_pool_start: '172.16.2.3'
  42. +# dhcp_pool_end: '172.16.2.16'
  43. +# dhcp_static_mask: '255.255.192.0'
  44. +# dhcp_lease_time: 'infinite'
  45. +# inventory_dns: true
  46. # The ironic API URL for bifrost operations. Defaults to localhost.
  47. # ironic_url: "http://localhost:6385/"
  48.  
  49. # The network interface that bifrost will be operating on. Defaults
  50. # to virbr0 in roles, can be overridden here.
  51. # network_interface: "virbr0"
  52. +network_interface: "eth2"
  53.  
  54.  
  55. # ironic_db_password ironic user password for rabbit
  56. @@ -52,6 +66,16 @@ mysql_password:
  57.  
  58. # Setting to utilize diskimage-builder to create a bootable image.
  59. create_image_via_dib: true
  60. +dib_os_element: 'ubuntu'
  61. +dib_os_release: 'trusty'
  62. +dib_env_vars:
  63. + DIB_CLOUD_INIT_DATASOURCES: "ConfigDrive, OpenStack"
  64. + ELEMENTS_PATH: "/opt/stack/diskimage-builder/elements"
  65. + DIB_OS_RELEASE: "trusty"
  66. +
  67. +# This is needed so that diskimage-builder will set it up so that it will
  68. +# attempt to DHCP for all interfaces on the system that have a link.
  69. +extra_dib_elements: dhcp-all-interfaces stable-interface-names
  70.  
  71. # Transform boot image is intended for use with the Ubuntu trusty image.
  72. # It makes the image bootable by installing Grub.
  73. diff --git a/tools/vagrant_dev_env/Vagrantfile b/tools/vagrant_dev_env/Vagrantfile
  74. index d458710..8e858f8 100644
  75. --- a/tools/vagrant_dev_env/Vagrantfile
  76. +++ b/tools/vagrant_dev_env/Vagrantfile
  77. @@ -9,7 +9,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  78.  
  79. config.vm.define 'bifrost' do |bifrost|
  80. bifrost.vm.provider :virtualbox do |vb|
  81. - vb.customize ['modifyvm', :id, '--memory', '4096', '--cpus', '1', '--cpuexecutioncap', '80']
  82. + vb.customize ['modifyvm', :id, '--memory', '8192', '--cpus', '8', '--cpuexecutioncap', '80']
  83. # the setting below are to improve performance on mac's and should have little impact elsewhere.
  84. vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
  85. vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
  86. @@ -25,7 +25,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  87. # the bridged interface.
  88. # NOTE(TheJulia): Is there a way to abstract the bridged networking...
  89. # NOTE(NobodyCam): until the above is done this needs to be set to a valid interface
  90. - bifrost.vm.network 'public_network', bridge: ''
  91. + # bifrost.vm.network 'public_network', bridge: ''
  92. + bifrost.vm.network 'public_network', ip: '172.16.2.201', netmask: '18', bridge: 'eth0'
  93.  
  94. # besure we get the entire bifrost directory tree
  95. bifrost.vm.synced_folder "../../.", "/home/vagrant/bifrost", type: "rsync"
Advertisement
Add Comment
Please, Sign In to add comment