doctl icon indicating copy to clipboard operation
doctl copied to clipboard

Allow rebuild action to take user-data and user-data-file

Open iranvir opened this issue 5 years ago • 4 comments

Is it possible to have the --user-data and --user-data-file flag work with Droplet rebuild actions For example instead of running this command: doctl compute droplet action rebuild <droplet-id> <image-id> We can have: doctl compute droplet action rebuild <droplet-id> <image-id> --user-data-file='/path/to/user-data.yaml'

I don't know if this is due to a limitation of doctl or the API itself, but it would be a really nice feature to have.

Please let me know if there's already something similiar in the command line tool, or if there's a beta version with the functionality.

iranvir avatar Dec 02 '19 01:12 iranvir

Hey @sranvir, your suspicion is correct – this is not possible due to a limitation in our API as of today. As far as I know, there's no workaround for this, but I'll raise this issue internally. I'll keep this issue open to track any future progress we make.

bentranter avatar Dec 03 '19 21:12 bentranter

Thanks for the clarification, @bentranter ! I hope the API gets more features in future releases.

iranvir avatar Dec 03 '19 21:12 iranvir

Hello! @bentranter what is supposed way to reprovision droplet keeping the same IP then, can you advise?

CoolCold avatar Jul 01 '20 01:07 CoolCold

@CoolCold Floating IPs is the only way as far as I know.

iranvir avatar Dec 11 '20 14:12 iranvir