summaryrefslogtreecommitdiffstats
path: root/test/TEST-40-NBD/dhcpd.conf
blob: 08461f9a4c98a64a415b72ae5ad291d387bdec82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
ddns-update-style none;

use-host-decl-names true;

subnet 192.168.50.0 netmask 255.255.255.0 {
	option subnet-mask      255.255.255.0;
	option routers          192.168.50.1;
	next-server             192.168.50.1;
	server-identifier       192.168.50.1;
	option domain-name-servers 192.168.50.1;
	option domain-search "example.com";
	option domain-name "other.com";

	group {
		host nbd-1 {
			hardware ethernet 52:54:00:12:34:00;
			fixed-address 192.168.50.101;
		}
	}

	group {
		host nbd-2 {
			option root-path "nbd:192.168.50.1:raw";

			hardware ethernet 52:54:00:12:34:01;
			fixed-address 192.168.50.101;
		}
	}

	group {
		host nbd-3 {
			option root-path "nbd:192.168.50.1:raw:ext2";

			hardware ethernet 52:54:00:12:34:02;
			fixed-address 192.168.50.101;
		}
	}

	group {
		host nbd-4 {
			option root-path "nbd:192.168.50.1:raw::errors=panic";

			hardware ethernet 52:54:00:12:34:03;
			fixed-address 192.168.50.101;
		}
	}

	group {
		host nbd-5 {
			option root-path "nbd:192.168.50.1:raw:ext2:errors=panic";

			hardware ethernet 52:54:00:12:34:04;
			fixed-address 192.168.50.101;
		}
	}

	group {
		host nbd-6 {
			# Use the encrypted image
			option root-path "nbd:192.168.50.1:encrypted:ext2:errors=panic";

			hardware ethernet 52:54:00:12:34:05;
			fixed-address 192.168.50.101;
		}
	}
}