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

Manual partitioning for Ubuntu #64

Closed
wants to merge 3 commits into from
Closed

Manual partitioning for Ubuntu #64

wants to merge 3 commits into from

Conversation

sebastian-luna-valero
Copy link
Member

Summary

The current automatic partitioning does not work well with the automatic resizing of the root disk done by IM.

This is just a test with manual partitioning. However, there is a new problem: partitions do not resize automatically when booting the VM.

I am opening the PR to discuss further solutions.


Related issue : #62

# EGI FedCloud configuration

# Make sure to disable ssh password authentication
ssh_pwauth: 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would keep this in some way or another

@@ -14,8 +14,46 @@ autoinstall:
ssh:
install-server: true
storage:
layout:
name: direct
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just remembered that I looked at this back in the day: https://github.com/NeCTAR-RC/nectar-images/blob/master/http/ubuntu-22.04/user-data#L18

Maybe we should read carefully how they manage on that repo

@enolfc
Copy link
Contributor

enolfc commented Feb 9, 2024

This is just a test with manual partitioning. However, there is a new problem: partitions do not resize automatically when booting the VM.

Maybe worth checking docs from cloud-init: https://cloudinit.readthedocs.io/en/latest/reference/modules.html#growpart and even the implementation

@sebastian-luna-valero
Copy link
Member Author

This PR can be closed.

See resolution in:

Many thanks @astalosj for his time devoted to debug this!

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

Successfully merging this pull request may close these issues.

2 participants