Code Review
/
icn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use Vagrantfile to build virtual site
[icn.git]
/
deploy
/
metal3-vm
/
05_host_cleanup.sh
diff --git
a/deploy/metal3-vm/05_host_cleanup.sh
b/deploy/metal3-vm/05_host_cleanup.sh
index
9ad8088
..
1e69d12
100755
(executable)
--- a/
deploy/metal3-vm/05_host_cleanup.sh
+++ b/
deploy/metal3-vm/05_host_cleanup.sh
@@
-15,13
+15,6
@@
for name in ironic ironic-inspector dnsmasq httpd mariadb ipa-downloader; do
sudo "${CONTAINER_RUNTIME}" ps --all | grep -w "$name$" && sudo "${CONTAINER_RUNTIME}" rm $name -f
done
sudo "${CONTAINER_RUNTIME}" ps --all | grep -w "$name$" && sudo "${CONTAINER_RUNTIME}" rm $name -f
done
-# Remove existing pod
-if [[ "${CONTAINER_RUNTIME}" == "podman" ]]; then
- if sudo "${CONTAINER_RUNTIME}" pod exists ironic-pod ; then
- sudo "${CONTAINER_RUNTIME}" pod rm ironic-pod -f
- fi
-fi
-
# Kill the locally running operators
if [ "${BMO_RUN_LOCAL}" = true ]; then
kill "$(pgrep "operator-sdk")" 2> /dev/null || true
# Kill the locally running operators
if [ "${BMO_RUN_LOCAL}" = true ]; then
kill "$(pgrep "operator-sdk")" 2> /dev/null || true