Evaluate variables' value in Kickstart file
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I am trying to make a Kickstart install of a CentOS 7 VM interactive, by asking for user input in the %pre-install script, as described here.
So far I've managed to get user-entered values and store them in variables. However, how can these be used inside the Kickstart file? Variables aren't evaluated there i.e. network --bootproto=static --device=eth0 --gateway=$MYGATEWAY --ip=$MYIPADDRESS
wouldn't work.
variable kickstart
add a comment |Â
up vote
2
down vote
favorite
I am trying to make a Kickstart install of a CentOS 7 VM interactive, by asking for user input in the %pre-install script, as described here.
So far I've managed to get user-entered values and store them in variables. However, how can these be used inside the Kickstart file? Variables aren't evaluated there i.e. network --bootproto=static --device=eth0 --gateway=$MYGATEWAY --ip=$MYIPADDRESS
wouldn't work.
variable kickstart
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I am trying to make a Kickstart install of a CentOS 7 VM interactive, by asking for user input in the %pre-install script, as described here.
So far I've managed to get user-entered values and store them in variables. However, how can these be used inside the Kickstart file? Variables aren't evaluated there i.e. network --bootproto=static --device=eth0 --gateway=$MYGATEWAY --ip=$MYIPADDRESS
wouldn't work.
variable kickstart
I am trying to make a Kickstart install of a CentOS 7 VM interactive, by asking for user input in the %pre-install script, as described here.
So far I've managed to get user-entered values and store them in variables. However, how can these be used inside the Kickstart file? Variables aren't evaluated there i.e. network --bootproto=static --device=eth0 --gateway=$MYGATEWAY --ip=$MYIPADDRESS
wouldn't work.
variable kickstart
variable kickstart
asked Feb 15 '16 at 17:14
dr01
15.7k114870
15.7k114870
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Did you ever figure out how to do this? I have the same problem now and there does not seem to be that much info, so far.
New contributor
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Did you ever figure out how to do this? I have the same problem now and there does not seem to be that much info, so far.
New contributor
add a comment |Â
up vote
0
down vote
Did you ever figure out how to do this? I have the same problem now and there does not seem to be that much info, so far.
New contributor
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Did you ever figure out how to do this? I have the same problem now and there does not seem to be that much info, so far.
New contributor
Did you ever figure out how to do this? I have the same problem now and there does not seem to be that much info, so far.
New contributor
New contributor
answered 17 mins ago
bladerunner15
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f263432%2fevaluate-variables-value-in-kickstart-file%23new-answer', 'question_page');
);
Post as a guest
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
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
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