![]() |
i have a problem with creating scopes and polices in Centos vmware kickstart
please can some one tell me where i have gone wrong?
thanks in advance option domain-name-servers 148.197.x.x; option root-path "/usr/kick"; ddns-update-style ad-hoc; subnet 148.197.x.x netmask 255.255.255.0 { # Note: subnet declaration for eth2 } subnet 192.168.1.0 netmask 255.255.255.0 { option routers 192.168.1.1; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; #option log-servers 148.197.x.x; use-host-decl-names on; default-lease-time 1800; max-lease-time 72000; # pxeboot image filename "/tftpboot/linux-install/pxelinux.0" ; next-server 192.168.1.1; range 192.168.1.10 192.168.1.100; #scope for 192.168.1.0/24 subnet 192.168.1.0 netmask 255.255.255.0 { deny unknown-clients; host VKickstart1{ hardware ethernet 00:0C:29:DE:1D:10; # Following not required for PXEboot only DVD based kickstart filename "/usr/kick/ks.cfg"; } #scope for 192.168.2.0/24 subnet 192.168.1.0 netmask 255.255.255.0 { deny unknown-clients; host VKickstart2{ hardware ethernet 00:0C:29:46:CF:D2; filename "/usr/kick/ks.cfg"; } host VKickstart3{ hardware ethernet 00:0C:29:58:5D:9F; #filename "/usr/kick/ks.cfg"; } } |
Quote:
|
Why do you quote the only post?
Quote:
|
I'm really trying to understand how i can show scopes and policies.I thought maybe I could show it by limiting certain systems that boot in a range within a range(scope) to have like a less lease time than another set of systems. Does this make any sense?
|
Quote:
I have ow done something like this. I havent tried it yest but its the logic i'm working with for anyone to correct me. #scope for 192.168.1.0/24 subnet 192.168.1.0 netmask 255.255.255.0 { default-lease-time 86400; option subnet-mask 255.255.255.0; option routers 192.168.1.1; group { filename "linux-install/pxelinux.0"; # name of the bootloader program host VKickstart1 { #scope for 192.168.1.0/24 subnet 192.168.1.0 netmask 255.255.255.0 { default-lease-time 55000; option subnet-mask 255.255.255.0; option routers 192.168.1.1; hardware ethernet 00:0C:29:DE:1D:10; } host VKickstart2 { hardware ethernet 00:0C:29:46:CF:D2; #scope for 192.168.1.0/24 subnet 192.168.1.0 netmask 255.255.255.0 { default-lease-time 44000; option subnet-mask 255.255.255.0; option routers 192.168.1.1; } host VKickstart3 { hardware ethernet 00:0C:29:58:5D:9F; #scope for 192.168.1.0/24 subnet 192.168.1.0 netmask 255.255.255.0 { default-lease-time 22000; option subnet-mask 255.255.255.0; option routers 192.168.1.1; } |
| All times are GMT -5. The time now is 03:47 AM. |