aboutsummaryrefslogtreecommitdiffstats
path: root/tdf-postinst-udeb/finish-install.d
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@libreoffice.org>2016-10-21 12:01:00 +0200
committerGuilhem Moulin <guilhem@libreoffice.org>2016-10-21 12:02:40 +0200
commit7258b7506f51f6863e5fbe5de178636fb246c831 (patch)
treefd28a3b3288718f8d3ef96e7ba609fcf27ab8ba4 /tdf-postinst-udeb/finish-install.d
parent993cc06ab470a9d8dc5c2d17eecc66d80438e435 (diff)
Attach a VirtIO RNG to the guest (and don't install haveged).
To avoid starving the host's RNG we also limit throughput to 512 bytes/s.
Diffstat (limited to 'tdf-postinst-udeb/finish-install.d')
-rwxr-xr-xtdf-postinst-udeb/finish-install.d/07tdf-postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/tdf-postinst-udeb/finish-install.d/07tdf-postinst b/tdf-postinst-udeb/finish-install.d/07tdf-postinst
index dad9219..f8c0da2 100755
--- a/tdf-postinst-udeb/finish-install.d/07tdf-postinst
+++ b/tdf-postinst-udeb/finish-install.d/07tdf-postinst
@@ -91,6 +91,7 @@ fi
if [ -d /target/etc/salt ]; then
in-target sh -c '
+ HOME="$(echo ~root)"
pkidir="/etc/salt/pki/minion"
mkdir -p -m0700 "$pkidir"