Browse Source

Fix hostname resolution in systemd container

tags/nilmbuntu-6
Jim Paris 2 years ago
parent
commit
da37396f65
2 changed files with 2 additions and 1 deletions
  1. +2
    -0
      customize.sh
  2. +0
    -1
      files/customize-inner.sh

+ 2
- 0
customize.sh View File

@@ -41,6 +41,8 @@ perl -n -i \
-e "print;" \
${ISO}/boot/grub/{grub,loopback}.cfg

sudo install -D -m 0644 files/fallback_dns.conf ${FS}/etc/systemd/resolved.conf.d/fallback_dns.conf

if ! [ "$1" == "skip" ] ; then

# Run the customize-inner.sh script inside the chroot


+ 0
- 1
files/customize-inner.sh View File

@@ -10,7 +10,6 @@ set -x

# Move stuff to the right places
install -D -m 0644 files/nilmbuntu.png /usr/share/xfce4/backdrops/nilmbuntu.png
install -D -m 0644 files/fallback_dns.conf /etc/systemd/resolved.conf.d/fallback_dns.conf
install -D -m 0644 files/casper.conf /etc/casper.conf
install -D -m 0644 files/hosts.nilm /etc/hosts.nilm



Loading…
Cancel
Save