We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c16859 commit 56e8b6eCopy full SHA for 56e8b6e
start.sh
@@ -143,14 +143,19 @@ cat >${CONFIGDIR}/qemu-config.json <<EOF
143
EOF
144
fi
145
146
+QEMU_HOST="$(echo "${BRIDGE_IP}" | cut -d'/' -f1)"
147
+if [[ "$(uname -s)" == "Darwin" ]]; then
148
+ QEMU_HOST="localhost"
149
+fi
150
+
151
cat >${CONFIGDIR}/controller-config.json <<EOF
152
{
153
"port": ${CONTROLLER_PORT},
154
"cache": {
155
"root": "cache"
156
},
157
"root": "${ROOTDIR}",
- "qemuEndpoint": "$(echo "${BRIDGE_IP}" | cut -d'/' -f1):${QEMU_PORT}"
158
+ "qemuEndpoint": "${QEMU_HOST}:${QEMU_PORT}"
159
}
160
161
0 commit comments