Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Automated installations via kickstart: msg#00085

Subject: Automated installations via kickstart
Whoohoo! Finally got xen/kickstart to do a complete hands-off installation.  The
goal is to be able to provision an OS for a customer (internal/external) with as
little interaction as possible, giving me more time to drink my coffee :D. The
kickstart piece makes it as easy/easier than AIX NIM installations...

I used the anaconda_ks.cfg from a previously installed domU and made a few 
changes.
To use it with xenguest-install.py you need to specify the kickstart file with 
the
"-x" option:

xenguest-install.py -n xm-fc4-004 \
   -f /dev/rootvg/xm-fc4-004_lv \
   -r 256 -l ftp://192.168.8.21/pub \
   -x ks=ftp://192.168.8.21/xm-fc4-004_ks.cfg

The kickstart file follows.
Some notes:
If you start with an anaconda generated file you need to add the keyboard 
directive.
For some reason it does not save this information (bug??).  The zerombr 
directive
will also destroy the existing LVM volume so use with care. The rootpw directive
needs to be changed in the example. You'd probably want to change the bootproto
option also. I'm hand-editing the IP info because I already have DNS entries.


  # Kickstart file automatically generated by anaconda.

  install
  url --url ftp://192.168.8.21//pub
  lang en_US.UTF-8
  keyboard us
  network --device eth0 --bootproto static --ip 192.168.8.64 --netmask 
255.255.255.0
  --gateway 192.168.8.1 --nameserver 192.168.8
  rootpw --iscrypted $1$ma1gooDL$myPaSsw0rdhashwh000h000
  firewall --enabled --port=22:tcp
  authconfig --enableshadow --enablemd5
  selinux --disabled
  timezone America/New_York
  bootloader --location=mbr --driveorder=xvda
  reboot
  zerombr yes
  clearpart --all
  part /boot --fstype ext3 --size=100
  part swap --size=256

  part pv.00 --size=1 --grow --asprimary

  volgroup rootvg pv.00
  logvol / --name root_lv --vgname=rootvg --size=400
  logvol swap --name swap_lv --vgname=rootvg --size=256
  logvol /usr --name usr_lv --vgname=rootvg --size=2000
  logvol /tmp --name tmp_lv --vgname=rootvg --size=200
  logvol /var --name var_lv --vgname=rootvg --size=200
  logvol /home --name home_lv --vgname=rootvg --size=400

  %packages
  @admin-tools
  @base
  @core
  @dns-server
  @editors
  @text-internet
  @web-server
  comps-extras
  cracklib-dicts
  gnome-mime-data
  rmt
  tzdata

  %post




-- 
* The Digital Hermit   http://www.digitalhermit.com
* Unix and Linux Solutions   kwan@xxxxxxxxxxxxxxxxx

--
Fedora-xen mailing list
Fedora-xen@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-xen



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe