summaryrefslogtreecommitdiffstats
path: root/share/scripts/debconf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-03-02 09:15:12 +0000
committerDaniel Baumann <daniel.baumann@open-infrastructure.net>2019-03-02 09:17:57 +0000
commita362312d90c16b2fe4b0ac436ac0e587bfb843e8 (patch)
tree6cbec1d3ece5935209edc4af25de76882fce608c /share/scripts/debconf
parentUpdating list of container shortcut commands. (diff)
downloadcompute-tools-a362312d90c16b2fe4b0ac436ac0e587bfb843e8.tar.xz
compute-tools-a362312d90c16b2fe4b0ac436ac0e587bfb843e8.zip
Removing a few fixmes that are not needed anymore.
Signed-off-by: Daniel Baumann <daniel.baumann@open-infrastructure.net>
Diffstat (limited to 'share/scripts/debconf')
-rwxr-xr-xshare/scripts/debconf16
1 files changed, 0 insertions, 16 deletions
diff --git a/share/scripts/debconf b/share/scripts/debconf
index e13e1f0..fbabab4 100755
--- a/share/scripts/debconf
+++ b/share/scripts/debconf
@@ -353,7 +353,6 @@ EOF
fi
# Removing resolv.conf
- # FIXME: needs to stay for the moment
rm -f "${DIRECTORY}/etc/resolv.conf"
cp /etc/resolv.conf "${DIRECTORY}/etc"
@@ -496,9 +495,6 @@ EOF
rm -f "${DIRECTORY}/preseed.cfg"
fi
- # FIXME: All packages of priority of essential need to be reconfigured to reflect choices from preseeding
- # -> fix: use two-stage bootstrap (foreign) and inject preseeds in between
-
# Manual hack to workaround broken preseeding in locales package
if [ -n "${PRESEED_FILE}" ]
then
@@ -553,16 +549,6 @@ EOF
fi
done
- # FIXME: Install additional packages after lxc-support has been run.
- # This is suboptimal, ideally we should install all packages but not run the maintainer scripts,
- # then run lxc-support, and run the maintainer scripts. This way, lxc-support would see
- # all the installed packages and could skip those scripts entirely when a certain package is not
- # installed. Unfortunately, that is not possible in any reasonable way with apt.
- # FTR: The only known workaround for now would be to first apt install --download-only all
- # packages, then unpack them with dpkg, run lxc-support, and dpkg --configure them.
- # For the time being, it's better to have lxc-support see no packages at all and be run before
- # packages are installed, than the other way around.
- # Workaround: We're running lxc-support at the end of the template again.
if [ -n "${PACKAGES}" ]
then
Chroot "${DIRECTORY}" "apt --option Dpkg::Options::=--force-confnew --yes install ${PACKAGES}"
@@ -792,8 +778,6 @@ Commands ()
{
DIRECTORY="${1}"
- # config (FIXME)
-
# maximum of 15 characters, prefix is 'veth-'
HOSTNAME_SHORT="$(echo ${NAME} | cut -c-8)"
HOST_INTERFACE_NAME="$(echo ${NETWORK1_VETH:-veth-${HOSTNAME_SHORT}-0})"