2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

Fix missing import isn osimage

This commit is contained in:
Jarrod Johnson 2020-05-27 12:16:24 -04:00
parent da8baa2ccb
commit c3fedf7309

View File

@ -5,6 +5,7 @@ import eventlet.green.subprocess as subprocess
import glob
import os
import os.path
import shutil
import sys
import time
@ -139,6 +140,9 @@ def initialize(cmdset):
# ok, also need to think on how to handle getinstalldisk
if not os.path.exists('/etc/confluent/srvcert.pem'):
subprocess.check_call(['collective', 'gencert'])
# TODO: check selinux and segetbool for httpd_can_network_connect
# tftp-server available and enabled?
# httpd available and enabled?
def osimport(imagefile):