Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

Fixes problems with userdata on rackspace #642

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gislifreyr
Copy link

When creating a server in the Rackspace public cloud the 'UserData'
option does not do anything unless the 'ConfigDrive' option is set to
'true'. This commit fixes that problem by checking if the UserData
option is non-empty and sets 'ConfigDrive' to 'true' if it is.

When creating a server in the Rackspace public cloud the 'UserData'
option does not do anything unless the 'ConfigDrive' option is set to
'true'. This commit fixes that problem by checking if the UserData
option is non-empty and sets 'ConfigDrive' to 'true' if it is.
@gislifreyr
Copy link
Author

My first time with Go so if this is not up to standards then please excuse me and guide me to a better fix if possible.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.006%) to 80.488% when pulling d9e0443 on gislifreyr:fix_rackspace_userdata into e00690e on rackspace:master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants