You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.
While attempting to delete VLANs in bulk, I found that the VLANs were not being deleted as expected.
for((i=0; i<10; i++));do metal vlan create --description delme;done
metal vlans get -o json | jq -r '.virtual_networks[] | select(.description==delme) | .id'| \
xargs -I{} metal vlan delete -i {} \;
-f is needed to force the deletion but there is no indication of this.
Either a warning should be returned when there is no terminal to receive confirmation from or -f should be implied in batch mode. Alternatively, the documentation should call out that -f is required for use in batch mode where no terminal is present.
The text was updated successfully, but these errors were encountered:
While attempting to delete VLANs in bulk, I found that the VLANs were not being deleted as expected.
-f
is needed to force the deletion but there is no indication of this.Either a warning should be returned when there is no terminal to receive confirmation from or
-f
should be implied in batch mode. Alternatively, the documentation should call out that-f
is required for use in batch mode where no terminal is present.The text was updated successfully, but these errors were encountered: