You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To save some time if you've downloaded iso of your distro, put the isos in:
42
+
tools/devcloud/deps/boxes/basebox-build/iso/
29
43
44
+
Note, gem would require gcc-4.2, make sure link exists:
30
45
31
-
cd deps
46
+
sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2
32
47
33
-
cd deps/
34
-
#cleans up any old stuff
35
-
./boxer.sh -c all
36
-
#builds the dependent vms
37
-
./boxer.sh -b all
48
+
# How to build DevCloud
38
49
50
+
DevCloud build scripts are in src/
51
+
Move to src/deps/ to start the build process:
39
52
40
-
After that is complete
53
+
cd src/deps/
41
54
42
-
#go back to the devcloud homedir
43
-
cd ../
44
-
#bring up the devcloud vm
45
-
vagrant up
55
+
Clean up any old stuff:
56
+
57
+
./boxer.sh -c all
58
+
59
+
Build the dependent vms:
60
+
61
+
./boxer.sh -b all
62
+
63
+
Now, start DevCloud:
64
+
65
+
# Go back to the devcloud homedir
66
+
cd ../
67
+
# Bring up the devcloud vm
68
+
vagrant up
46
69
47
70
If you get a vagrant error, at that point, try:
48
71
49
-
source .rvmrc
50
-
vagrant up
72
+
source .rvmrc
73
+
vagrant up
74
+
75
+
# CloudStack Build Automation in DevCloud
51
76
52
77
If you want to compile cloudstack in the devcloud vm:
53
78
54
-
vim puppet/modules/devcloud/manifests/params.pp
79
+
vim puppet/modules/devcloud/manifests/params.pp
55
80
56
81
and set
57
82
58
-
$build_cloudstack = true
83
+
$build_cloudstack = true
59
84
60
85
alternately, if you do not want to build cloudstack in the devcloud vm, set:
61
86
62
-
$build_cloudstack = false
87
+
$build_cloudstack = false
63
88
64
89
65
-
It will now bring up the devcloud vm for this first time. Note that it will attempt to download the SSVM and CPVM templates so it will take a long time to launch initially. It will also git clone the cloudstack repository and attempt to build an launch it.
90
+
It will now bring up the devcloud vm for this first time. Note that it will
91
+
attempt to download the SSVM and CPVM templates so it will take a long time to
92
+
launch initially. It will also git clone the cloudstack repository and attempt
93
+
to build an launch it.
66
94
67
-
You can optionally speed things up by packaging a successful devcloud instance build. This will make subsequent launches must faster since it won't have to re-downoad the SSVM and CPVM. Once it has successfully been built, you can run:
95
+
You can optionally speed things up by packaging a successful devcloud instance
96
+
build. This will make subsequent launches must faster since it won't have to
97
+
re-downoad the SSVM and CPVM. Once it has successfully been built, you can run:
68
98
69
99
#exports the devcloud vagrant instance and adds it as "devcloud" to vagrant boxlist
70
-
./boxit.sh
71
-
#modifies the Vagrant file to use this newly added instance
72
-
sed -i 's,devcloudbase-xen,devcloud,g' Vagrantfile
100
+
./boxit.sh
101
+
#modifies the Vagrant file to use this newly added instance
102
+
sed -i 's,devcloudbase-xen,devcloud,g' Vagrantfile
0 commit comments