Change server bootscript on existing baremetal using scw cli


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?


I figured it out. Thanks for nothin…

run this to get the bootscript IMAGE ID

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


#scw _patch server_name bootscript=IMAGE ID