From dd6e69102b40d6d5f3ade2f7f0982ecad01fbf20 Mon Sep 17 00:00:00 2001 From: Dalton Hubble Date: Fri, 27 May 2016 14:03:16 -0700 Subject: [PATCH] Documentation: Reference coreos.com/dnsmasq:v0.3.0 --- Documentation/getting-started-rkt.md | 2 +- Documentation/grub.md | 2 +- contrib/dnsmasq/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/getting-started-rkt.md b/Documentation/getting-started-rkt.md index 75fef940..9597260d 100644 --- a/Documentation/getting-started-rkt.md +++ b/Documentation/getting-started-rkt.md @@ -89,7 +89,7 @@ Trust the [CoreOS App Signing Key](https://coreos.com/security/app-signing-key/) Run the `coreos.com/dnsmasq` ACI with rkt. - sudo rkt run coreos.com/dnsmasq:v0.2.0 --net=metal0:IP=172.15.0.3 -- -d -q --dhcp-range=172.15.0.50,172.15.0.99 --enable-tftp --tftp-root=/var/lib/tftpboot --dhcp-userclass=set:ipxe,iPXE --dhcp-boot=tag:#ipxe,undionly.kpxe --dhcp-boot=tag:ipxe,http://bootcfg.foo:8080/boot.ipxe --log-queries --log-dhcp --dhcp-option=3,172.15.0.1 --address=/bootcfg.foo/172.15.0.2 + sudo rkt run coreos.com/dnsmasq:v0.3.0 --net=metal0:IP=172.15.0.3 -- -d -q --dhcp-range=172.15.0.50,172.15.0.99 --enable-tftp --tftp-root=/var/lib/tftpboot --dhcp-userclass=set:ipxe,iPXE --dhcp-boot=tag:#ipxe,undionly.kpxe --dhcp-boot=tag:ipxe,http://bootcfg.foo:8080/boot.ipxe --log-queries --log-dhcp --dhcp-option=3,172.15.0.1 --address=/bootcfg.foo/172.15.0.2 In this case, dnsmasq runs a DHCP server allocating IPs to VMs between 172.15.0.50 and 172.15.0.99, resolves `bootcfg.foo` to 172.15.0.2 (the IP where `bootcfg` runs), and points iPXE clients to `http://bootcfg.foo:8080/boot.ipxe`. diff --git a/Documentation/grub.md b/Documentation/grub.md index 58c2f64d..a856fb25 100644 --- a/Documentation/grub.md +++ b/Documentation/grub.md @@ -23,7 +23,7 @@ On Fedora, add the `metal0` interface to the trusted zone in your firewall confi Run the `coreos.com/dnsmasq` ACI with rkt. - sudo rkt run coreos.com/dnsmasq:v0.2.0 --net=metal0:IP=172.15.0.3 -- -d -q --dhcp-range=172.15.0.50,172.15.0.99 --enable-tftp --tftp-root=/var/lib/tftpboot --dhcp-match=set:efi-bc,option:client-arch,7 --dhcp-boot=tag:efi-bc,grub.efi --dhcp-userclass=set:grub,GRUB2 --dhcp-boot=tag:grub,"(http;bootcfg.foo:8080)/grub","172.15.0.2" --log-queries --log-dhcp --dhcp-userclass=set:ipxe,iPXE --dhcp-boot=tag:pxe,undionly.kpxe --dhcp-boot=tag:ipxe,http://bootcfg.foo:8080/boot.ipxe --address=/bootcfg.foo/172.15.0.2 + sudo rkt run coreos.com/dnsmasq:v0.3.0 --net=metal0:IP=172.15.0.3 -- -d -q --dhcp-range=172.15.0.50,172.15.0.99 --enable-tftp --tftp-root=/var/lib/tftpboot --dhcp-match=set:efi-bc,option:client-arch,7 --dhcp-boot=tag:efi-bc,grub.efi --dhcp-userclass=set:grub,GRUB2 --dhcp-boot=tag:grub,"(http;bootcfg.foo:8080)/grub","172.15.0.2" --log-queries --log-dhcp --dhcp-userclass=set:ipxe,iPXE --dhcp-boot=tag:pxe,undionly.kpxe --dhcp-boot=tag:ipxe,http://bootcfg.foo:8080/boot.ipxe --address=/bootcfg.foo/172.15.0.2 ## Client VM diff --git a/contrib/dnsmasq/README.md b/contrib/dnsmasq/README.md index 2d12a2ba..da6436d6 100644 --- a/contrib/dnsmasq/README.md +++ b/contrib/dnsmasq/README.md @@ -13,7 +13,7 @@ Run the `coreos.com/dnsmasq` ACI with rkt. sudo rkt trust --prefix coreos.com/dnsmasq # gpg key fingerprint is: 18AD 5014 C99E F7E3 BA5F 6CE9 50BD D3E0 FC8A 365E - sudo rkt run coreos.com/dnsmasq:v0.2.0 + sudo rkt run coreos.com/dnsmasq:v0.3.0 Press ^] three times to kill the container.