Files
ubicloud/prog/remove_boot_image.rb
Hadi Moshayedi ea45981037 Program to remove a boot image.
Once we install a newer version of an image, we might want to remove the
older versions. This program enables that.

To use it, an operator is expect to run the following in the REPL:

```
> boot_image = BootImage[... id ...]
> st = boot_image.remove_boot_image
```

Then it'll wait for storage volumes using that boot image to drain and
after that it'll remove the image files and db records.
2024-05-16 09:32:05 -07:00

685 B