Index: trunk/extensions/OpenStackManager/OpenStackNovaController.php |
— | — | @@ -260,7 +260,7 @@ |
261 | 261 | $userdata .= $endl; |
262 | 262 | $userdata .= $boundary; |
263 | 263 | if ( $wgOpenStackManagerInstanceUserData['cloud-config'] ) { |
264 | | - $userdata .= $endl . $this->getAttachmentMime( Spyc::YAMLDump( $wgOpenStackManagerInstanceUserData['cloud-config'] ), 'text/cloud-config', 'cloud-config.txt' ); |
| 264 | + $userdata .= $endl . $this->getAttachmentMime( FormatJson::encode( $wgOpenStackManagerInstanceUserData['cloud-config'] ), 'text/cloud-config', 'cloud-config.txt' ); |
265 | 265 | $userdata .= $endl . $boundary; |
266 | 266 | } |
267 | 267 | if ( $wgOpenStackManagerInstanceUserData['scripts'] ) { |