From ad6adf9274cd3a4da2f962f8f5ee72ed92edd091 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Fri, 6 Mar 2015 13:10:56 -0500 Subject: [PATCH 1/2] Remove excess "sysfs" from sysfs mount command --- setup/create_bootable_image.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/create_bootable_image.yaml b/setup/create_bootable_image.yaml index 6cc57e0c3..96592b739 100644 --- a/setup/create_bootable_image.yaml +++ b/setup/create_bootable_image.yaml @@ -26,7 +26,7 @@ - name: "Place grub device file map" template: src=templates/device.map.j2 dest=/mnt/bootimg/boot/grub/device.map - name: "Binding /sys into /mnt/bootimg/sys" - command: mount -t sysfs sysfs sysfs /mnt/bootimg/sys + command: mount -t sysfs sysfs /mnt/bootimg/sys - name: "Binding /proc into /mnt/bootimg/proc" command: mount -t proc proc /mnt/bootimg/proc - name: "Binding /dev into /mnt/bootimg/dev" From 4e6b2fa77e92abacc3a0455494a845ca22cfb34e Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Sun, 8 Mar 2015 15:29:41 +0000 Subject: [PATCH 2/2] Correct dnsmasq dhcp-boot parameter Changed dhcp-boot url to utilize port 8080 instead of port 80. --- setup/templates/dnsmasq.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/templates/dnsmasq.conf.j2 b/setup/templates/dnsmasq.conf.j2 index be5482518..6281df5bd 100644 --- a/setup/templates/dnsmasq.conf.j2 +++ b/setup/templates/dnsmasq.conf.j2 @@ -423,7 +423,7 @@ dhcp-range={{dhcp_pool_start}},{{dhcp_pool_end}},12h # load. The dhcp-match sets the gpxe tag for requests from gPXE. dhcp-match=set:ipxe,175 # iPXE sends a 175 option. dhcp-boot=tag:!ipxe,undionly.kpxe -dhcp-boot=http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}/boot.ipxe +dhcp-boot=http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}:8080/boot.ipxe # Encapsulated options for Etherboot gPXE. All the options are # encapsulated within option 175