Commit f1ab3cc7 authored by Rene Hadler's avatar Rene Hadler

proxmox-installer: Some bugfixes, adjustments for PVE6 installer & first tests

parent 24d7c34d
......@@ -49,7 +49,7 @@ def run_cmd(command, argShell=False):
except:
e = sys.exc_info()[0]
retval = gui_yesno_box("Fehler", "Befehl <%s> war nicht erfolgreich, Fehlermeldung: %s -- Installation abbrechen?" % (command, e))
if retval[0] == 1:
if retval[0] == 0:
exit(1)
def run_cmd_output(command, argShell=False):
......@@ -545,9 +545,9 @@ class Installer():
file_create("/etc/apt/apt.conf.d/01proxy", 'Acquire::http { Proxy "http://10.69.99.10:3142"; };')
# Installieren allgemeine Tools und Monitoring-Agent
file_create("/etc/apt/sources.list.d/iteas.list", "deb https://apt.iteas.at/iteas stretch main")
run_cmd('apt-get update')
run_cmd('apt-get install dirmngr -y')
file_create("/etc/apt/sources.list.d/iteas.list", "deb https://apt.iteas.at/iteas stretch main")
run_cmd('apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 2FAB19E7CCB7F415', argShell=True)
run_cmd('apt-get update')
run_cmd('apt-get dist-upgrade -y')
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment