LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-27-2010, 11:53 AM   #1
the student
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Rep: Reputation: 0
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:29E: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:CF2;

filename "/usr/kick/ks.cfg";
}

host VKickstart3{
hardware ethernet 00:0C:29:58:5D:9F;

#filename "/usr/kick/ks.cfg";
}


}
 
Old 04-28-2010, 07:35 AM   #2
the student
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by the student View Post
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:29E: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:CF2;

filename "/usr/kick/ks.cfg";
}

host VKickstart3{
hardware ethernet 00:0C:29:58:5D:9F;

#filename "/usr/kick/ks.cfg";
}


}
help
 
Old 04-28-2010, 08:06 AM   #3
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 402

Rep: Reputation: 51
Why do you quote the only post?

Quote:
i have a problem with creating scopes and polices in Centos vmware kickstart
please can some one tell me where i have gone wrong?
What exactly problem do you have and what are you trying to achieve?
 
Old 04-28-2010, 10:06 AM   #4
the student
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Original Poster
Rep: Reputation: 0
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?
 
Old 04-28-2010, 01:16 PM   #5
the student
LQ Newbie
 
Registered: Mar 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by the student View Post
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?

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:29E:1D:10;


}
host VKickstart2 {
hardware ethernet 00:0C:29:46:CF2;

#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;

}
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
centos kickstart problem xiutuo Linux - General 10 05-12-2010 01:07 AM
a problem with a simple scripts in my %pre section of Centos kickstart vmware the student Linux - Virtualization and Cloud 1 04-27-2010 08:49 PM
two kenels problem at centos 5.2 in vmware! windstory Linux - Newbie 0 12-12-2008 08:22 PM
DHCP creating multiple scopes pridefc Linux - Networking 2 01-30-2008 02:28 PM


All times are GMT -5. The time now is 02:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration