Kickstart netinstall ignores kickstart file hosted in LAN and proceeds with manual installation

The name of the pictureThe name of the pictureThe name of the pictureClash 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.31running 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.










share|improve this question









New contributor




PowerBoss Nautilus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • 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











  • 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















up vote
0
down vote

favorite












Virtual machines are hypervised by vmware workstation.



I start my web server on vm1-192.168.0.31running 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.










share|improve this question









New contributor




PowerBoss Nautilus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.



















  • 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











  • 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













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.31running 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.










share|improve this question









New contributor




PowerBoss Nautilus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











Virtual machines are hypervised by vmware workstation.



I start my web server on vm1-192.168.0.31running 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






share|improve this question









New contributor




PowerBoss Nautilus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




PowerBoss Nautilus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 2 days ago









Rui F Ribeiro

38.2k1475123




38.2k1475123






New contributor




PowerBoss Nautilus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 2 days ago









PowerBoss Nautilus

11




11




New contributor




PowerBoss Nautilus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





PowerBoss Nautilus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






PowerBoss Nautilus is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











  • 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











  • 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

















  • 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











  • 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
















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
















active

oldest

votes











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






PowerBoss Nautilus is a new contributor. Be nice, and check out our Code of Conduct.









 

draft saved


draft discarded


















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






























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.









 

draft saved


draft discarded


















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.













 


draft saved


draft discarded














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





















































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






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay