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:
[email protected]


Reply via email to