blob: 1973d4301823c0741d2a7e8ff03673b429119041 (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/bash
systems=$(cobbler system list)
echo "remove systems: $systems"
for system in $systems; do
cobbler system remove --name=$system
if [[ "$?" != "0" ]]; then
echo "failed to remove system %s"
fi
done
|