Cannot input to nmtui when using kickstart

General support questions
Post Reply
agentguerry
Posts: 1
Joined: 2015/07/29 20:56:41

Cannot input to nmtui when using kickstart

Post by agentguerry » 2015/07/29 21:07:08

I have a setup of Centos 7 64bit and I am trying to have the kickstart file prompt for network manager so that I can set an IP static prior to reboot.
I have the same working with Centos 6.
The only difference I have seen is that 6 used system-config-network-tui, and 7 uses nmtui.

I can see that the nmtui interface shows up, but my keyboard entries do not populate the nmtui tool.

below is the ks excerpt. only thing I have changed is the entry to use nmtui, since Centos 7 does not know system-config-network-tui

%post
exec < /dev/tty1 1> /dev/tty1 2> /dev/tty1
nmcli
%end

Looking to see why it doesn't notice my input.
Keyboard is set to US in the ks also.
if I remove my %post entries, the server builds just fine, but i'm using dhcp after the boot.


whole KS is below:

install
text
lang en_US
keyboard us
timezone America/New_York
rootpw --iscrypted $6$/vaose.3298v923498va934298gva0apDw7hxXG.ixJB22HGws0Tl9.JSD
reboot
url --url=http://localwww/cblr/links/rhel7-x86_64
bootloader --location=mbr --append="rhgb quiet crashkernel=auto"
zerombr
clearpart --all --initlabel
autopart
auth --passalgo=sha512 --useshadow
selinux --disabled
firewall --disabled
skipx
firstboot --disable
%packages
@base
@core
@legacy-unix
ncurses-term
NetworkManager-tui
%end
%post
exec < /dev/tty1 1> /dev/tty1 2> /dev/tty1
nmcli
%end

Post Reply