Kickstart netinstall ignores kickstart file hosted in LAN and proceeds with manual installation
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Virtual machines are hypervised by vmware workstation.
I start my web server on vm1-192.168.0.31
running centos7. I create and upload the kickstart file ks.cfg
to 192.168.0.31/ks.cfg
. You can look at the file here : https://textuploader.com/db09m.
Every vm in my LAN can access the ks.cfg
and read its content by going to 192.168.0.31/ks.cfg
. I boot vm2 with netinstall iso of centos7 and add ks=http://192.168.0.31/ks.cf
to boot options and press enter.The only thing that comes to my mind is that somehow the mirror address in ks.cfg
is not valid but i copied it from official centos site and tried multiple ones. I also tried mirrors found on the net, none of them solved the issue.
centos system-installation kickstart
New contributor
|
show 2 more comments
up vote
0
down vote
favorite
Virtual machines are hypervised by vmware workstation.
I start my web server on vm1-192.168.0.31
running centos7. I create and upload the kickstart file ks.cfg
to 192.168.0.31/ks.cfg
. You can look at the file here : https://textuploader.com/db09m.
Every vm in my LAN can access the ks.cfg
and read its content by going to 192.168.0.31/ks.cfg
. I boot vm2 with netinstall iso of centos7 and add ks=http://192.168.0.31/ks.cf
to boot options and press enter.The only thing that comes to my mind is that somehow the mirror address in ks.cfg
is not valid but i copied it from official centos site and tried multiple ones. I also tried mirrors found on the net, none of them solved the issue.
centos system-installation kickstart
New contributor
are new VM actually on that network by default? e.g. can you get into the shell virtual terminal under the install and see what the network settings are, or logs of what the installer is doing?
– thrig
2 days ago
I restarted the machine and managed to go into the shell virtual terminal of the not yet installed system. I don't know how to go into shell virtual terminal during the manual GUI installation. It appears that there actually is no ipv4 address assigned to the only NIC this system has. I don't understand much since if it was able to fetch the ks.cfg file why wouldn't it be able to fetch something else. You can look at theip a
andifconfig
output here: i.imgur.com/0OJ6L8P.png. I also don't know how and which logs to check, there are so many different ones according to google.
– PowerBoss Nautilus
2 days ago
huh. that looks like the virt has no network. maybe try getting it a DHCP server (and NAT?) or otherwise on a bridged interface with all the other virts somehow? but that's more a vmware config question
– thrig
2 days ago
According to your comment, you have no network defined and therefore would have no access to any networks and not be able to load yourks.cfg
kickstart file. You are required to define a network before the kickstart is able to be downloaded from the network (the kickstart can then define the same or a different network setup). The easiest method is to run DHCP to assign IP addresses automatically, but the kernel boot options allow you to define just about any kind of network.
– GracefulRestart
2 days ago
I might've just gotten some useful information! Based on the following I think that the kickstart file is bad: I made a typing error while giving path to kickstart file in boot options which resulted in this message during boot: i.imgur.com/vQTR7Ns.png. When I type the path correctly there is no error and a screen like this greets me: i.imgur.com/Hm8CZ2D.png. I compared it to screen that greets me during fully manual installation (notice it has 2 screens): i.imgur.com/xXgjrif.png and i.imgur.com/f5mEGSH.png. Can we confirm that the ks.cfg itself is wrong?
– PowerBoss Nautilus
yesterday
|
show 2 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Virtual machines are hypervised by vmware workstation.
I start my web server on vm1-192.168.0.31
running centos7. I create and upload the kickstart file ks.cfg
to 192.168.0.31/ks.cfg
. You can look at the file here : https://textuploader.com/db09m.
Every vm in my LAN can access the ks.cfg
and read its content by going to 192.168.0.31/ks.cfg
. I boot vm2 with netinstall iso of centos7 and add ks=http://192.168.0.31/ks.cf
to boot options and press enter.The only thing that comes to my mind is that somehow the mirror address in ks.cfg
is not valid but i copied it from official centos site and tried multiple ones. I also tried mirrors found on the net, none of them solved the issue.
centos system-installation kickstart
New contributor
Virtual machines are hypervised by vmware workstation.
I start my web server on vm1-192.168.0.31
running centos7. I create and upload the kickstart file ks.cfg
to 192.168.0.31/ks.cfg
. You can look at the file here : https://textuploader.com/db09m.
Every vm in my LAN can access the ks.cfg
and read its content by going to 192.168.0.31/ks.cfg
. I boot vm2 with netinstall iso of centos7 and add ks=http://192.168.0.31/ks.cf
to boot options and press enter.The only thing that comes to my mind is that somehow the mirror address in ks.cfg
is not valid but i copied it from official centos site and tried multiple ones. I also tried mirrors found on the net, none of them solved the issue.
centos system-installation kickstart
centos system-installation kickstart
New contributor
New contributor
edited 2 days ago
Rui F Ribeiro
38.2k1475123
38.2k1475123
New contributor
asked 2 days ago
PowerBoss Nautilus
11
11
New contributor
New contributor
are new VM actually on that network by default? e.g. can you get into the shell virtual terminal under the install and see what the network settings are, or logs of what the installer is doing?
– thrig
2 days ago
I restarted the machine and managed to go into the shell virtual terminal of the not yet installed system. I don't know how to go into shell virtual terminal during the manual GUI installation. It appears that there actually is no ipv4 address assigned to the only NIC this system has. I don't understand much since if it was able to fetch the ks.cfg file why wouldn't it be able to fetch something else. You can look at theip a
andifconfig
output here: i.imgur.com/0OJ6L8P.png. I also don't know how and which logs to check, there are so many different ones according to google.
– PowerBoss Nautilus
2 days ago
huh. that looks like the virt has no network. maybe try getting it a DHCP server (and NAT?) or otherwise on a bridged interface with all the other virts somehow? but that's more a vmware config question
– thrig
2 days ago
According to your comment, you have no network defined and therefore would have no access to any networks and not be able to load yourks.cfg
kickstart file. You are required to define a network before the kickstart is able to be downloaded from the network (the kickstart can then define the same or a different network setup). The easiest method is to run DHCP to assign IP addresses automatically, but the kernel boot options allow you to define just about any kind of network.
– GracefulRestart
2 days ago
I might've just gotten some useful information! Based on the following I think that the kickstart file is bad: I made a typing error while giving path to kickstart file in boot options which resulted in this message during boot: i.imgur.com/vQTR7Ns.png. When I type the path correctly there is no error and a screen like this greets me: i.imgur.com/Hm8CZ2D.png. I compared it to screen that greets me during fully manual installation (notice it has 2 screens): i.imgur.com/xXgjrif.png and i.imgur.com/f5mEGSH.png. Can we confirm that the ks.cfg itself is wrong?
– PowerBoss Nautilus
yesterday
|
show 2 more comments
are new VM actually on that network by default? e.g. can you get into the shell virtual terminal under the install and see what the network settings are, or logs of what the installer is doing?
– thrig
2 days ago
I restarted the machine and managed to go into the shell virtual terminal of the not yet installed system. I don't know how to go into shell virtual terminal during the manual GUI installation. It appears that there actually is no ipv4 address assigned to the only NIC this system has. I don't understand much since if it was able to fetch the ks.cfg file why wouldn't it be able to fetch something else. You can look at theip a
andifconfig
output here: i.imgur.com/0OJ6L8P.png. I also don't know how and which logs to check, there are so many different ones according to google.
– PowerBoss Nautilus
2 days ago
huh. that looks like the virt has no network. maybe try getting it a DHCP server (and NAT?) or otherwise on a bridged interface with all the other virts somehow? but that's more a vmware config question
– thrig
2 days ago
According to your comment, you have no network defined and therefore would have no access to any networks and not be able to load yourks.cfg
kickstart file. You are required to define a network before the kickstart is able to be downloaded from the network (the kickstart can then define the same or a different network setup). The easiest method is to run DHCP to assign IP addresses automatically, but the kernel boot options allow you to define just about any kind of network.
– GracefulRestart
2 days ago
I might've just gotten some useful information! Based on the following I think that the kickstart file is bad: I made a typing error while giving path to kickstart file in boot options which resulted in this message during boot: i.imgur.com/vQTR7Ns.png. When I type the path correctly there is no error and a screen like this greets me: i.imgur.com/Hm8CZ2D.png. I compared it to screen that greets me during fully manual installation (notice it has 2 screens): i.imgur.com/xXgjrif.png and i.imgur.com/f5mEGSH.png. Can we confirm that the ks.cfg itself is wrong?
– PowerBoss Nautilus
yesterday
are new VM actually on that network by default? e.g. can you get into the shell virtual terminal under the install and see what the network settings are, or logs of what the installer is doing?
– thrig
2 days ago
are new VM actually on that network by default? e.g. can you get into the shell virtual terminal under the install and see what the network settings are, or logs of what the installer is doing?
– thrig
2 days ago
I restarted the machine and managed to go into the shell virtual terminal of the not yet installed system. I don't know how to go into shell virtual terminal during the manual GUI installation. It appears that there actually is no ipv4 address assigned to the only NIC this system has. I don't understand much since if it was able to fetch the ks.cfg file why wouldn't it be able to fetch something else. You can look at the
ip a
and ifconfig
output here: i.imgur.com/0OJ6L8P.png. I also don't know how and which logs to check, there are so many different ones according to google.– PowerBoss Nautilus
2 days ago
I restarted the machine and managed to go into the shell virtual terminal of the not yet installed system. I don't know how to go into shell virtual terminal during the manual GUI installation. It appears that there actually is no ipv4 address assigned to the only NIC this system has. I don't understand much since if it was able to fetch the ks.cfg file why wouldn't it be able to fetch something else. You can look at the
ip a
and ifconfig
output here: i.imgur.com/0OJ6L8P.png. I also don't know how and which logs to check, there are so many different ones according to google.– PowerBoss Nautilus
2 days ago
huh. that looks like the virt has no network. maybe try getting it a DHCP server (and NAT?) or otherwise on a bridged interface with all the other virts somehow? but that's more a vmware config question
– thrig
2 days ago
huh. that looks like the virt has no network. maybe try getting it a DHCP server (and NAT?) or otherwise on a bridged interface with all the other virts somehow? but that's more a vmware config question
– thrig
2 days ago
According to your comment, you have no network defined and therefore would have no access to any networks and not be able to load your
ks.cfg
kickstart file. You are required to define a network before the kickstart is able to be downloaded from the network (the kickstart can then define the same or a different network setup). The easiest method is to run DHCP to assign IP addresses automatically, but the kernel boot options allow you to define just about any kind of network.– GracefulRestart
2 days ago
According to your comment, you have no network defined and therefore would have no access to any networks and not be able to load your
ks.cfg
kickstart file. You are required to define a network before the kickstart is able to be downloaded from the network (the kickstart can then define the same or a different network setup). The easiest method is to run DHCP to assign IP addresses automatically, but the kernel boot options allow you to define just about any kind of network.– GracefulRestart
2 days ago
I might've just gotten some useful information! Based on the following I think that the kickstart file is bad: I made a typing error while giving path to kickstart file in boot options which resulted in this message during boot: i.imgur.com/vQTR7Ns.png. When I type the path correctly there is no error and a screen like this greets me: i.imgur.com/Hm8CZ2D.png. I compared it to screen that greets me during fully manual installation (notice it has 2 screens): i.imgur.com/xXgjrif.png and i.imgur.com/f5mEGSH.png. Can we confirm that the ks.cfg itself is wrong?
– PowerBoss Nautilus
yesterday
I might've just gotten some useful information! Based on the following I think that the kickstart file is bad: I made a typing error while giving path to kickstart file in boot options which resulted in this message during boot: i.imgur.com/vQTR7Ns.png. When I type the path correctly there is no error and a screen like this greets me: i.imgur.com/Hm8CZ2D.png. I compared it to screen that greets me during fully manual installation (notice it has 2 screens): i.imgur.com/xXgjrif.png and i.imgur.com/f5mEGSH.png. Can we confirm that the ks.cfg itself is wrong?
– PowerBoss Nautilus
yesterday
|
show 2 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
PowerBoss Nautilus is a new contributor. Be nice, and check out our Code of Conduct.
PowerBoss Nautilus is a new contributor. Be nice, and check out our Code of Conduct.
PowerBoss Nautilus is a new contributor. Be nice, and check out our Code of Conduct.
PowerBoss Nautilus is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481990%2fkickstart-netinstall-ignores-kickstart-file-hosted-in-lan-and-proceeds-with-manu%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
are new VM actually on that network by default? e.g. can you get into the shell virtual terminal under the install and see what the network settings are, or logs of what the installer is doing?
– thrig
2 days ago
I restarted the machine and managed to go into the shell virtual terminal of the not yet installed system. I don't know how to go into shell virtual terminal during the manual GUI installation. It appears that there actually is no ipv4 address assigned to the only NIC this system has. I don't understand much since if it was able to fetch the ks.cfg file why wouldn't it be able to fetch something else. You can look at the
ip a
andifconfig
output here: i.imgur.com/0OJ6L8P.png. I also don't know how and which logs to check, there are so many different ones according to google.– PowerBoss Nautilus
2 days ago
huh. that looks like the virt has no network. maybe try getting it a DHCP server (and NAT?) or otherwise on a bridged interface with all the other virts somehow? but that's more a vmware config question
– thrig
2 days ago
According to your comment, you have no network defined and therefore would have no access to any networks and not be able to load your
ks.cfg
kickstart file. You are required to define a network before the kickstart is able to be downloaded from the network (the kickstart can then define the same or a different network setup). The easiest method is to run DHCP to assign IP addresses automatically, but the kernel boot options allow you to define just about any kind of network.– GracefulRestart
2 days ago
I might've just gotten some useful information! Based on the following I think that the kickstart file is bad: I made a typing error while giving path to kickstart file in boot options which resulted in this message during boot: i.imgur.com/vQTR7Ns.png. When I type the path correctly there is no error and a screen like this greets me: i.imgur.com/Hm8CZ2D.png. I compared it to screen that greets me during fully manual installation (notice it has 2 screens): i.imgur.com/xXgjrif.png and i.imgur.com/f5mEGSH.png. Can we confirm that the ks.cfg itself is wrong?
– PowerBoss Nautilus
yesterday