File tree 1 file changed +4
-0
lines changed
flex-linux-setup/flex_linux_setup
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ def get_flex_setup_parser():
19
19
parser .add_argument ('--jans-setup-branch' , help = "Jannsen setup github branch" , default = 'main' )
20
20
parser .add_argument ('--flex-branch' , help = "Jannsen flex setup github branch" , default = 'main' )
21
21
parser .add_argument ('--jans-branch' , help = "Jannsen github branch" , default = 'main' )
22
+ parser .add_argument ('--jans-installer-args' , help = "Arguments to be passed for Janssen Installer" )
22
23
23
24
return parser
24
25
@@ -40,9 +41,12 @@ def get_flex_setup_parser():
40
41
install_url = 'https://raw.githubusercontent.com/JanssenProject/jans/{}/jans-linux-setup/jans_setup/install.py' .format (setup_branch )
41
42
request .urlretrieve (install_url , 'install.py' )
42
43
install_cmd = 'python3 install.py --setup-branch={}' .format (setup_branch )
44
+ if argsp .jans_installer_args :
45
+ install_cmd += ' --args="{}"' .format (argsp .jans_installer_args )
43
46
if '-yes' in sys .argv :
44
47
install_cmd += ' -yes'
45
48
print ("Executing" , install_cmd )
49
+
46
50
os .system (install_cmd )
47
51
sys .path .append (__STATIC_SETUP_DIR__ )
48
52
You can’t perform that action at this time.
0 commit comments