Change server bootscript on existing baremetal using scw cli


#1

I cannot select boot script under the advanced settings. I get an error on the page. it says " error accessing data please reload the page"

I saw a post from 2016 that mentioned it can be done using the scw cli.

scw _patch SERVER bootscript=BOOTSCRIPT_ID

However, it seems like the _patch command no longer exists.

Anyone know how to do this?


#2

I figured it out. Thanks for nothin…

run this to get the bootscript IMAGE ID

#scw images --no-trunc -a -f type=bootscript

then

#scw _patch server_name bootscript=IMAGE ID