diff --git a/confluent_osdeploy/el8/profiles/default/scripts/add_local_repositories b/confluent_osdeploy/el8/profiles/default/scripts/add_local_repositories index b9bf82b4..e97b6837 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/add_local_repositories +++ b/confluent_osdeploy/el8/profiles/default/scripts/add_local_repositories @@ -8,7 +8,6 @@ profile = None with open('/etc/confluent/confluent.deploycfg') as dplcfgfile: lines = dplcfgfile.read().split('\n') for line in lines: - print(repr(line)) if line.startswith('deploy_server:'): _, server = line.split(' ', 1) if line.startswith('profile: '): diff --git a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh index 7ed98f5e..e775762a 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/pre.sh +++ b/confluent_osdeploy/el8/profiles/default/scripts/pre.sh @@ -8,6 +8,8 @@ # method is to edit the kicktstart file and comment out or # delete %include /tmp/partitioning +nicname=$(ip link|grep ^$(cat /tmp/confluent.ifidx): | awk '{print $2}' | awk -F: '{print $1}') +nmcli c u $nicname nodename=$(grep ^NODENAME /etc/confluent/confluent.info|awk '{print $2}') locale=$(grep ^locale: /etc/confluent/confluent.deploycfg) locale=${locale#locale: }