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.
Coverage decreased (-0.006%) to 80.488% when pulling d9e04438ed98b93797fb62d21bef64ef9892a609 on gislifreyr:fix_rackspace_userdata into e00690e87603abe613e9f02c816c7c4bef82e063 on rackspace:master.
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.