You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/09/29 11:08:29 UTC
[GitHub] [cloudstack] weizhouapache commented on a change in pull request #3900: systemvm: configurable root disk size based on new systemvm template definition
weizhouapache commented on a change in pull request #3900:
URL: https://github.com/apache/cloudstack/pull/3900#discussion_r496631592
##########
File path: systemvm/debian/opt/cloud/bin/setup/cloud-early-config
##########
@@ -89,6 +89,12 @@ start() {
rm -f /root/.rnd
echo "" > /root/.ssh/known_hosts
+ if which growpart > /dev/null; then
+ growpart /dev/vda 2
+ growpart /dev/vda 6
+ resize2fs /dev/vda6
Review comment:
> @ustcweizhou have you tested this for KVM, and non-KVM hypervisors? It's possible the partitions are not called (hard-coded) vda; instead of this can be find/use partitions by mount point names or other valid/static identifiers?
@rhtyd good point. thanks for review
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org