Bug #537
Sunstones is generating the Context as a unique string
Status: | Closed | Start date: | 03/16/2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Hector Sanjuan | % Done: | 100% | |
Category: | Sunstone | Estimated time: | 2.00 hours | |
Target version: | Release 2.2 | |||
Resolution: | fixed | Pull request: | ||
Affected Versions: |
Description
The context section should be a JSON compound instead of a plain string.
"{\"vm\":{\"NAME\":\"ss\",\"OS\":{\"ARCH\":\"i686\",\"BOOT\":\"hd\"},\"CONTEXT\":\"files = \\\"/srv/cloud/images/ubuntu/init.sh /srv/cloud/one/.ssh/id_rsa.pub\\\", target = \\\"hdc\\\", root_pubkey = \\\"id_rsa.pub\\\"\",\"RAW\":{\"TYPE\":\"kvm\"}}}"
It should look like the RAW or OS section.
Associated revisions
Bug #537: Improved the context section making it more intuitive
Bug #537: Improved the context section making it more intuitive
(cherry picked from commit 68946d294d144f41b76cbf9ece77f5f41538a69f)
Bug #537: Improved the context section by making it more intuitive in the VM plugin.
History
#1 Updated by Hector Sanjuan over 10 years ago
- File 0001-Bug-537-Improved-the-context-section-making-it-more-.patch added
- % Done changed from 0 to 100
- Estimated time set to 2.00
- Resolution set to fixed
Find attached a patch that improves and eases the context section of the wizards, allowing the user to add variables separately.
#2 Updated by Jaime Melis over 10 years ago
- Status changed from New to Closed
Patch applied to master and one-2.2 branches.