File tree 1 file changed +2
-14
lines changed
1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change @@ -79,33 +79,21 @@ get_qm_network_mode(){
79
79
echo " ${qm_network_mode} "
80
80
}
81
81
82
- disk_cleanup
83
- prepare_test
84
- reload_config
82
+ init_ffi
85
83
prepare_images
86
84
87
85
# Assign value to ${controller_host_ip} according to qm network mode
88
86
if [ " $( get_qm_network_mode) " == " private" ]; then
89
87
controller_host_ip=$( hostname -I | awk ' {print $1}' )
90
88
else
91
- echo " qm network mode should be private not: $( get_qm_network_mode) "
89
+ info_message " qm network mode should be private, not: $( get_qm_network_mode) "
92
90
exit 1
93
91
fi
94
92
95
93
# Stop QM bluechi-agent
96
94
exec_cmd " podman exec -it qm /bin/bash -c \
97
95
\" systemctl stop bluechi-agent\" "
98
96
99
- # This is the workaround when ControllerHost is not in /etc/qm/bluechi/agent.conf.d/agent.conf
100
- # Add ControllerHost to this configuration file
101
- qm_bluechi_agent_config_file=" /etc/qm/bluechi/agent.conf.d/agent.conf"
102
- if test -f " ${qm_bluechi_agent_config_file} " ; then
103
- sed -i ' $a \ControllerHost=' " ${controller_host_ip} " ' ' ${qm_bluechi_agent_config_file}
104
- else
105
- echo " Configuration file not found: ${qm_bluechi_agent_config_file} "
106
- exit 1
107
- fi
108
-
109
97
# Prepare quadlet files for testing containers
110
98
setup_test_containers_in_qm
111
99
# Run containers through systemd
You can’t perform that action at this time.
0 commit comments