Automated KS file For install new Centos 7
-
- Posts: 13
- Joined: 2014/10/23 07:28:42
Automated KS file For install new Centos 7
Hi dear Friend
I entry To ks file for centos 7 For Eth name From en160 to Eth0 and Set ip address
But no working
How Solve this ???
bootloader --location=mbr --append="crashkernel=auto console=ttyS0,115200n8 net.ifnames=0"
network --bootproto=static --hostname=Ramin.ks-centos7 --ip=192.168.10.2 --netmask=255.255.255.252 --gateway=192.168.10.1 --ipv6=V6address --ipv6gateway=V6-Gateway --nameserver=8.8.8.8,2001:4860:4860::8888 --device=eth0 --onboot=yes --activate
During Install Say to me wired Connect ens160 do noot change eth name to eth0
Note : this is Fresh centos7 install
I entry To ks file for centos 7 For Eth name From en160 to Eth0 and Set ip address
But no working
How Solve this ???
bootloader --location=mbr --append="crashkernel=auto console=ttyS0,115200n8 net.ifnames=0"
network --bootproto=static --hostname=Ramin.ks-centos7 --ip=192.168.10.2 --netmask=255.255.255.252 --gateway=192.168.10.1 --ipv6=V6address --ipv6gateway=V6-Gateway --nameserver=8.8.8.8,2001:4860:4860::8888 --device=eth0 --onboot=yes --activate
During Install Say to me wired Connect ens160 do noot change eth name to eth0
Note : this is Fresh centos7 install
Re: Automated KS file For install new Centos 7
1. What do you need the "eth-style" name for?
2. Don't you have DHCP server on your network?
3. https://access.redhat.com/documentation ... ice_naming
2. Don't you have DHCP server on your network?
3. https://access.redhat.com/documentation ... ice_naming
Re: Automated KS file For install new Centos 7
If you want the old style network names then you need to pass biosdevname=0 net.ifnames=0 to both the installer kernel and the installation itself once it's completed.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke
-
- Posts: 13
- Joined: 2014/10/23 07:28:42
Re: Automated KS file For install new Centos 7
This is Fresh install of centos 7 For RIPE Anchor
I can install OS by ssh key login
I donnot have access to shell centos for change eth name after install comlete
I must force eth name to eth0 in ks file during automated install
I donnot have auto ip configuration
I set static ip on eth0
I can install OS by ssh key login
I donnot have access to shell centos for change eth name after install comlete
I must force eth name to eth0 in ks file during automated install
I donnot have auto ip configuration
I set static ip on eth0
-
- Posts: 13
- Joined: 2014/10/23 07:28:42
Re: Automated KS file For install new Centos 7
I test this
bootloader --location=mbr --append="crashkernel=auto console=ttyS0,115200n8 net.ifnames=0 biosdevname=0"
But Eth name still ens160 during install
Re: Automated KS file For install new Centos 7
Yes, you have to pass it to the installer kernel too.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke
-
- Posts: 13
- Joined: 2014/10/23 07:28:42
Re: Automated KS file For install new Centos 7
Which you cannot do from a kickstart file. You must pass the options to the installer when it boots.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke
-
- Posts: 13
- Joined: 2014/10/23 07:28:42
Re: Automated KS file For install new Centos 7
I use boot: linux ks=http://192.168.10.1/ks.cfg
boot with ks file and centos can access and fetch ks file For http server
boot with ks file and centos can access and fetch ks file For http server
Re: Automated KS file For install new Centos 7
And what you would need is "linux ks=http://192.168.10.1/ks.cfg net.ifnames=0 biosdevname=0"I use boot: linux ks=http://192.168.10.1/ks.cfg
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke