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):
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:
def run_cmd_output(command, argShell=False):
......@@ -545,9 +545,9 @@ class Installer():
file_create("/etc/apt/apt.conf.d/01proxy", 'Acquire::http { Proxy ""; };')
# Installieren allgemeine Tools und Monitoring-Agent
file_create("/etc/apt/sources.list.d/iteas.list", "deb stretch main")
run_cmd('apt-get update')
run_cmd('apt-get install dirmngr -y')
file_create("/etc/apt/sources.list.d/iteas.list", "deb stretch main")
run_cmd('apt-key adv --recv-keys --keyserver 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