[ONE images] do not use hostnamectl in chroot (ubuntu build script)
This commit is contained in:
parent
2659ec10c9
commit
1ee1e66155
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ EOF
|
|||
run_root rm -f /etc/machine-id
|
||||
run_root touch /etc/machine-id
|
||||
rm -f /var/lib/systemd/random-seed
|
||||
run_root hostnamectl set-hostname ubuntu
|
||||
echo "ubuntu" > /mnt/etc/hostname
|
||||
|
||||
# Remove temporary files and reclaim freed disk space.
|
||||
run_root apt-get clean
|
||||
|
|
Loading…
Reference in a new issue