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

Debian 12 VM Script Does not Prompt for HDD Size #1093

Open
1 of 2 tasks
AT-StephenDetomasi opened this issue Dec 29, 2024 · 5 comments
Open
1 of 2 tasks

Debian 12 VM Script Does not Prompt for HDD Size #1093

AT-StephenDetomasi opened this issue Dec 29, 2024 · 5 comments

Comments

@AT-StephenDetomasi
Copy link

βœ… Have you read and understood the above guidelines?

Yes.

πŸ“œ What is the name of the script you are using?

Debian 12 VM

πŸ“‚ What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/vm/debian-vm.sh)"

πŸ“ Provide a clear and concise description of the issue.

During the advanced setup, several variable parameters are prompted to the user. Unfortunately, the HDD size is not prompted during the process, and the default 4GB HDD size is forced, which is insufficient for many users.

βš™οΈ What settings are you using?

  • Default Settings
  • Advanced Settings

πŸ–₯️ Which Linux distribution are you using?

Debian 12

πŸ”„ Steps to reproduce the issue.

Run the command, select advanced options. Option to change HDD size does not appear.

❌ Paste the full error output (if available).

No logs due to missing option.

πŸ–ΌοΈ Additional context (optional).

Output from final command:

Using Advanced Settings
Virtual Machine ID: 222
Using Machine Type: q35
Using Disk Cache: None
Using Hostname: sb-debian-01
Using CPU Model: Host
Allocated Cores: 4
Allocated RAM: 1666
Using Bridge: vmbr0
Using MAC Address: 02:E1:F1:6E:38:03
Using Vlan: Default
Using Interface MTU Size: Default
Start VM when completed: yes
Creating a Debian 12 VM using the above advanced settings
 βœ“ Using ZFS-S-02 for Storage Location.
 βœ“ Virtual Machine ID is 222.
 βœ“ https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-nocloud-amd64.qcow2
 βœ“ Downloaded debian-12-nocloud-amd64.qcow2
 βœ“ Created a Debian 12 VM (sb-debian-01)
 βœ“ Started Debian 12 VM
 βœ“ Completed Successfully!****
@AT-StephenDetomasi
Copy link
Author

AT-StephenDetomasi commented Dec 29, 2024

I just tried the Ubuntu 24.04 VM as well - it also does not prompt for HDD size. This is less of an issue on LXCs since you can easily extend the storage (after all it is a quota and not a conventional virtual disk), but with VMs you must manually repartition which is sub-optimal.

@oOStroudyOo
Copy link

Hello @AT-StephenDetomasi

I'm just looking at this now, what would you recommend as a default disk-size?

Thanks.

@AT-StephenDetomasi
Copy link
Author

8GB would be my minimum recommended size, but user choice here is important, as some people may want to install a desktop environment for various reasons. In my situation I want to install a desktop environment and have a disk size of around 25GB. Whilst I could manually resize partitions via a GParted Live environment afterwards, this is a bit of a chore.

The other thing not mentioned is swap, but this is probably less important.

@oOStroudyOo
Copy link

I've got something running in my repo at the moment, I assume this is what you're looking for:

image
image
image

The partitions haven't been adjusted, is this something you need?
image

@AT-StephenDetomasi
Copy link
Author

That definitely looks like we're on the right track. That said, typically when a user selects a given disk size as part of an operating system installation on a new system, it should be assumed that the entire disk would be allocated for this. I can't think of a good reason why someone would want it any other way...

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

2 participants