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

Cloud-init drive is the first drive - boot fails #244

Open
killroy1971 opened this issue Jun 22, 2023 · 0 comments
Open

Cloud-init drive is the first drive - boot fails #244

killroy1971 opened this issue Jun 22, 2023 · 0 comments

Comments

@killroy1971
Copy link

killroy1971 commented Jun 22, 2023

I've set up a terrafor set up using an imported Fedora Cloud disk image.

When I run the terraform plan, the Cloud-init drive is created before the VM's OS drive. The VM starts, but it attempts to boot from the cloud-init drive, with is assigned the device /dev/xvda, not /dev/xvdb which is what happens if I do this through the GUI.

If I disconnect the VM boots, but the boot device remains /dev/xvdb and I can't change it. If I reattach the cloud-init drive, it's still assigned to /dev/xvda.

Is there a way to fix this drive order issue?

Screenshot 2023-06-21 at 8 03 46 PM Screenshot 2023-06-21 at 8 03 25 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant