Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generic CloudConfig drive #549

Closed
15 tasks done
olivierlambert opened this issue Nov 30, 2015 · 0 comments
Closed
15 tasks done

Generic CloudConfig drive #549

olivierlambert opened this issue Nov 30, 2015 · 0 comments

Comments

@olivierlambert
Copy link
Member

Currently, the cloudconfig drive is only used with the Citrix Docker plugin (they are both in the same plugin, despite they are different thing). But the XScontainer plugin can't work for other distro, see xenserver/xscontainer#22

Ideally, we should wait for having this part (cloudconfig) as a first class citizen in the XAPI.

Nevertheless, it's also possible to create a disk ourselves.

  • create a createCloudInitConfigDrive(vmId,srId,config) in the server
    • create a 10MB disk in XAPI
    • import a RAW VDI inside it in FAT format
    • attach it to the VM
  • modify the UI in XO to expose a cloudconfig panel to activate for Templates with disks
    • display the list of existing template disks
    • allow growing of existing disks (if cloud is activated)
    • possibility to change disk name and description
    • choose SR of existing disks
    • allow add extra disks
  • expose CloudInit options directly in the UI:
    • enable or disable the cloud config panel with a switch in the panel heading (on top right)
    • if disabled, display clearly at the end of the panel content: "Cloud config is disabled", and the opposite message if enabled
    • hostname, autofilled with vm name? (hostname:) fill with the VM name by default
    • SSH keys (ssh_authorized_keys:)
@olivierlambert olivierlambert added this to the 4.12 milestone Dec 8, 2015
@olivierlambert olivierlambert changed the title CloudConfig drive usage for other templates Generic CloudConfig drive Dec 13, 2015
@olivierlambert olivierlambert self-assigned this Dec 13, 2015
@olivierlambert olivierlambert modified the milestones: 4.11, 4.12 Dec 15, 2015
julien-f pushed a commit that referenced this issue Mar 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant