Skip to content

Instantly share code, notes, and snippets.

@sathlan
Created August 23, 2016 10:19
Show Gist options
  • Save sathlan/9e44f829e653c1172ab06de16856a366 to your computer and use it in GitHub Desktop.
Save sathlan/9e44f829e653c1172ab06de16856a366 to your computer and use it in GitHub Desktop.
for i in `ironic node-list --maintenance true --field uuid | awk 'NR>3 && $0 ~! /^\+/ {print $2}'`; do ironic node-set-maintenance $i false; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment