FAQ
Hey, someone just told me yesterday that I can give my machine an
initial IP address, gateway, dns server, and netmask via command line
like this:

linux ks=http://www.mydomain.com/kick.ks ip2.168.1.5
netmask%5.255.255.0 gateway2.168.1.1 dns2.168.1.10

Is this true? Is the syntax wrong or right?

If so, and I call my kick.ks file and it has
install
cdrom

it'll pull the files from the CD but won't launch the CD install right?
I just want to initiate a kickstart where the systems get their drive
partitioning info, IP addressing & hostname attributes, and minimal
install packages, from the kickstart file.

Is it really true that you can use the above command line to give an
address for the machine to use in seeking out a kickstart file on the
network? I tried it a few times last night an looked for a very long
time for examples of this syntax, and found none.

-krb

Search Discussions

  • Joshua Baker-LePain at Dec 27, 2006 at 7:55 pm
    On Wed, 27 Dec 2006 at 11:52am, Karl R. Balsmeier wrote
    Is it really true that you can use the above command line to give an address
    for the machine to use in seeking out a kickstart file on the network? I
    tried it a few times last night an looked for a very long time for examples
    of this syntax, and found none.
    yum -y install anaconda
    less /usr/share/doc/anaconda-10.1.1.46/command-line.txt
    .
    .
    .
    ip=<ip> IP to use for a network installation, use 'dhcp' for DHCP.

    netmask=<nm> Netmask to use for a network installation.

    gateway=<gw> Gateway to use for a network installation.

    dns=<dns> Comma separated list of nameservers to use for a network
    installation.


    --
    Joshua Baker-LePain
    Department of Biomedical Engineering
    Duke University
  • Karl R. Balsmeier at Dec 27, 2006 at 9:22 pm

    Joshua Baker-LePain wrote:

    On Wed, 27 Dec 2006 at 11:52am, Karl R. Balsmeier wrote
    Is it really true that you can use the above command line to give an
    address for the machine to use in seeking out a kickstart file on the
    network? I tried it a few times last night an looked for a very long
    time for examples of this syntax, and found none.

    yum -y install anaconda
    less /usr/share/doc/anaconda-10.1.1.46/command-line.txt
    .
    .
    .
    ip=<ip> IP to use for a network installation, use 'dhcp' for
    DHCP.

    netmask=<nm> Netmask to use for a network installation.

    gateway=<gw> Gateway to use for a network installation.

    dns=<dns> Comma separated list of nameservers to use for a network
    installation.
    this was exactly what I tried last night to no avail, but today in a
    different network it worked fine. thanks alot!
  • Mike Redan at Dec 27, 2006 at 8:19 pm

    Hey, someone just told me yesterday that I can give my machine an
    initial IP address, gateway, dns server, and netmask via command line
    like this:
    linux ks=http://www.mydomain.com/kick.ks ip2.168.1.5
    netmask%5.255.255.0 gateway2.168.1.1 dns2.168.1.10
    Is this true? Is the syntax wrong or right?
    From what I understand, the syntax you mention above will only assign
    the network information to that host for the duration of the kickstart.
    It will not permanently assign that info to the kickstarted machine.

    I think what you are looking for is something inside your ks file,
    something like this:

    network --bootproto=static --ip2.168.1.51 --netmask%5.255.255.0
    --gateway2.168.1.254 --nameserver2.168.1.1 --device=eth0
    --hostname myhost.home.org
    If so, and I call my kick.ks file and it has
    install
    cdrom
    it'll pull the files from the CD but won't launch the CD install right?
    I just want to initiate a kickstart where the systems get their drive
    partitioning info, IP addressing & hostname attributes, and minimal
    install packages, from the kickstart file.
    Yep, that's right.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcentos @
categoriescentos
postedDec 27, '06 at 7:52p
activeDec 27, '06 at 9:22p
posts4
users3
websitecentos.org
irc#centos

People

Translate

site design / logo © 2022 Grokbase