mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-24 02:20:08 +00:00
Set nodename as hostname prior to post for el class distros
This commit is contained in:
parent
cbee00d3bb
commit
ce1d89c741
@ -12,6 +12,8 @@ export confluent_mgr confluent_profile nodename
|
||||
cp -a /etc/confluent /mnt/sysimage/etc
|
||||
chmod -R og-rwx /mnt/sysimage/etc/confluent
|
||||
cp /tmp/functions /mnt/sysimage/etc/confluent/
|
||||
hostnamectl set-hostname $nodename
|
||||
cp /etc/hostname /mnt/sysimage/etc/hostname
|
||||
. /tmp/functions
|
||||
if [ -f /tmp/cryptboot ]; then
|
||||
cp /tmp/cryptboot /mnt/sysimage/tmp/
|
||||
|
@ -12,6 +12,8 @@ export confluent_mgr confluent_profile nodename
|
||||
cp -a /etc/confluent /mnt/sysimage/etc
|
||||
chmod -R og-rwx /mnt/sysimage/etc/confluent
|
||||
cp /tmp/functions /mnt/sysimage/etc/confluent/
|
||||
hostnamectl set-hostname $nodename
|
||||
cp /etc/hostname /mnt/sysimage/etc/hostname
|
||||
. /tmp/functions
|
||||
if [ -f /tmp/cryptboot ]; then
|
||||
cp /tmp/cryptboot /mnt/sysimage/tmp/
|
||||
|
Loading…
Reference in New Issue
Block a user