Last active
November 23, 2016 13:32
-
-
Save jaohaohsuan/9725740f5d321e356517c0844c74b6ce to your computer and use it in GitHub Desktop.
bootkube server containers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker run --rm --net=host --cap-add=NET_ADMIN quay.io/coreos/dnsmasq -d -q --dhcp-range=192.168.90.20,192.168.90.30 --enable-tftp --tftp-root=/var/lib/tftpboot --dhcp-userclass=set:ipxe,iPXE --dhcp-boot=tag:#ipxe,undionly.kpxe --dhcp-boot=tag:ipxe,http://bootcfg.example.com:8080/boot.ipxe --log-queries --log-dhcp --dhcp-option=3,192.168.90.1 --address=/bootcfg.example.com/192.168.90.250 | |
| docker run -p 8080:8080 --rm -v $PWD/demo1:/var/lib/bootcfg:Z -v $PWD/demo1/groups:/var/lib/bootcfg/groups:Z quay.io/coreos/bootcfg:latest -address=0.0.0.0:8080 -log-level=debug |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Read this
http://bootcfg.example.com:8080/ignition?paramsuuid&maccan match with/group/*.jsonread
ssh_authorized_keysfrom/group/*.jsonfile