incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chipchild...@apache.org
Subject [8/37] git commit: For devcloudsetup.sh:
Date Fri, 27 Jul 2012 01:36:11 GMT
For devcloudsetup.sh:

Added dom0 memory settings to grub config.
Added root password reset.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/7488b9d7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/7488b9d7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/7488b9d7

Branch: refs/heads/master
Commit: 7488b9d7520e547879fd6223e5ba04b84a0db3d3
Parents: c06d319
Author: Chip Childers <chip.childers@gmail.com>
Authored: Mon Jul 9 23:27:01 2012 -0400
Committer: Chip Childers <chip.childers@gmail.com>
Committed: Mon Jul 9 23:27:01 2012 -0400

----------------------------------------------------------------------
 tools/devcloud/devcloudsetup.sh |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/7488b9d7/tools/devcloud/devcloudsetup.sh
----------------------------------------------------------------------
diff --git a/tools/devcloud/devcloudsetup.sh b/tools/devcloud/devcloudsetup.sh
index 8ae3908..6d2c156 100644
--- a/tools/devcloud/devcloudsetup.sh
+++ b/tools/devcloud/devcloudsetup.sh
@@ -28,6 +28,8 @@ install_xen() {
     update-rc.d xendomains disable
 
     sed -i 's/GRUB_DEFAULT=.\+/GRUB_DEFAULT="Xen 4.1-amd64"/' /etc/default/grub
+    echo 'GRUB_CMDLINE_XEN_DEFAULT="dom0_mem=512M,max:512M"' | cat /etc/default/grub - >>
/etc/default/newgrub
+    mv /etc/default/newgrub /etc/default/grub
     update-grub
 
     mkdir /usr/share/qemu
@@ -52,6 +54,9 @@ EOF
     echo TOOLSTACK=xapi > /etc/default/xen
     echo bridge > /etc/xcp/network.conf
 
+    echo "set root password"
+    echo "root:password" | chpasswd
+
     echo "reboot"
     reboot
 }


Mime
View raw message