Feature request: create disk from image without root password
In my experiments with the Linode API, it seems that if I specify an
image when using the Disk Create API, then I must also specify a
root_pass. Specifying an
image without a
root_pass gives an API error.
I would prefer my root accounts to have no password, and instead use a StackScript or some other automation to install suitable
authorized_keys files for public-key authentication.
I would also like to be able to create disks from images without any interference from Linode at all. For example, I would like to be able to use images to create disks that are not boot/root disks.
Can you please make the
root_pass parameter of the Disk Create API optional when creating a disk from an image or StackScript?
I tried to create a Disk using the API without a root password and got the same error, I will
definitely pass your request to the de development team.
An option is to disable the root password after you create your Disk. You can disable the root password for most distributions by running a
passwd -d root or editing your
Here is a post on stack overflow about it.