summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-09 15:13:57 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-09 15:13:57 +0100
commitc43c2a4435671870bc79817f4382af7eaeb426d5 (patch)
tree1d96f9ab7b551ad38c5126e3d67011785e6173db
parent54b57ded65d984d43264e325348463fb5cff4b2b (diff)
downloaditzks-install-script-c43c2a4435671870bc79817f4382af7eaeb426d5.tar.gz
itzks-install-script-c43c2a4435671870bc79817f4382af7eaeb426d5.tar.bz2
itzks-install-script-c43c2a4435671870bc79817f4382af7eaeb426d5.zip
APT: Drop --force-yes. Deprecated and not needed.
-rw-r--r--install-itzks-workstation18
1 files changed, 9 insertions, 9 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index 9d2b076..574add6 100644
--- a/install-itzks-workstation
+++ b/install-itzks-workstation
@@ -39,21 +39,21 @@ sed -r -i /etc/apt/sources.list -e "s@http.debian.net@httpredir.debian.org@g"
# Get update and add itzks-keyring and itzks-systems-common package
apt-get update
-apt-get install -y --force-yes itzks-keyring && apt-get update && apt-get install -y --force-yes itzks-systems-common && apt-get update
+apt-get install -y --force-yes itzks-keyring && apt-get update && apt-get install -y itzks-systems-common && apt-get update
# Install the itzks-systems-workstation package
-apt-get install --yes --force-yes ocsinventory-agent
+apt-get install --yes ocsinventory-agent
itzks-systems.do_preseed
-apt-get install -y --force-yes itzks-systems-workstation
+apt-get install -y itzks-systems-workstation
# Install wireless-tools for configuration of WiFi
-apt-get install -y --force-yes wireless-tools uuid-runtime
+apt-get install -y wireless-tools uuid-runtime
# Install libpacparser1
-apt-get install -y --force-yes libpacparser1
+apt-get install -y libpacparser1
# Make sure, we have Oracle's JAVA 8... (and that it is the default that people use)
-apt-get install -y --force-yes oracle-java8-bin oracle-java8-jre oracle-java8-plugin
+apt-get install -y oracle-java8-bin oracle-java8-jre oracle-java8-plugin
update-java-alternatives --jre --set java-8-oracle
update-java-alternatives --plugin --set java-8-oracle
@@ -61,7 +61,7 @@ update-java-alternatives --plugin --set java-8-oracle
read -p "Verfügt der Rechner über ein DVD-Laufwerk bzw. sollen DVDs abgespielt werden könnne? (j/n)? " answer
case ${answer:0:1} in
y|Y|j|J )
- apt-get install -y --force-yes libdvdcss2
+ apt-get install -y libdvdcss2
;;
*)
:
@@ -181,7 +181,7 @@ EOT
####################
# Configure Plymouth
-apt-get install -y --force-yes plymouth-themes
+apt-get install -y plymouth-themes
plymouth-set-default-theme solar
update-initramfs -k all -u
@@ -211,7 +211,7 @@ fi
# Install and enable puppet-agent on client
echo '! Puppet-Agent wird installiert... '
-apt-get install -y --force-yes puppet
+apt-get install -y puppet
echo 'Nun mit ssh auf den tjener wechseln und dort
mit puppet cert --list die am Master angemeldeten