summaryrefslogtreecommitdiff
path: root/install-itzks-workstation
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-30 23:45:55 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-01-30 23:45:55 +0100
commite75c24d21ca6ccc6cc817b8a7830e95f1b243fa6 (patch)
tree6290d70550389bce805ea55e7e0b098d4ef25856 /install-itzks-workstation
parentc8512b66eb4170a4106f7f78e2e3125bb007b4f4 (diff)
downloaditzks-install-script-e75c24d21ca6ccc6cc817b8a7830e95f1b243fa6.tar.gz
itzks-install-script-e75c24d21ca6ccc6cc817b8a7830e95f1b243fa6.tar.bz2
itzks-install-script-e75c24d21ca6ccc6cc817b8a7830e95f1b243fa6.zip
Use -y --force-yes with apt-get everywhere.
Diffstat (limited to 'install-itzks-workstation')
-rw-r--r--install-itzks-workstation12
1 files changed, 6 insertions, 6 deletions
diff --git a/install-itzks-workstation b/install-itzks-workstation
index d4d20a7..495c055 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 itzks-keyring && apt-get update && apt-get install itzks-systems-common && 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
# Install the itzks-systems-workstation package
apt-get install --yes --force-yes ocsinventory-agent
itzks-systems.do_preseed
-apt-get install itzks-systems-workstation
+apt-get install -y --force-yes itzks-systems-workstation
# Install wireless-tools for configuration of WiFi
-apt-get install wireless-tools uuid-runtime
+apt-get install -y --force-yes wireless-tools uuid-runtime
# Install libpacparser1
-apt-get install libpacparser1
+apt-get install -y --force-yes libpacparser1
# Make sure, we have Oracle's JAVA 8... (and that it is the default that people use)
-apt-get install oracle-java8-bin oracle-java8-jre oracle-java8-plugin
+apt-get install -y --force-yes 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
@@ -191,7 +191,7 @@ invoke-rc.d puppet restart
# Install and enable puppet-agent on client
echo '! Puppet-Agent wird installiert... '
-apt-get install puppet
+apt-get install -y --force-yes puppet
puppet agent --test --waitforcert 7200
puppet agent --enable
read -p '''Nun mit ssh auf den tjener wechseln und dort