Merge pull request #3 from Gijutsu/new-upstream-cosmos
new upstream release of cosmos that includes ln5 fixes for https remotes
This commit is contained in:
commit
9167776246
2
addhost
2
addhost
|
@ -45,7 +45,7 @@ if [ ! -d $cmd_hostname ]; then
|
|||
fi
|
||||
|
||||
if [ "$cmd_do_bootstrap" = "yes" ]; then
|
||||
scp apt/cosmos_1.2-2_all.deb apt/bootstrap-cosmos.sh root@$cmd_hostname:
|
||||
scp apt/cosmos_1.5-1_all.deb apt/bootstrap-cosmos.sh root@$cmd_hostname:
|
||||
ssh root@$cmd_hostname ./bootstrap-cosmos.sh $cmd_fqdn $rrepo $rtag
|
||||
ssh root@$cmd_hostname cosmos update
|
||||
ssh root@$cmd_hostname cosmos apply
|
||||
|
|
|
@ -23,7 +23,7 @@ fi
|
|||
set -x
|
||||
|
||||
apt-get -y install rsync git-core wget
|
||||
dpkg -i cosmos_1.2-2_all.deb
|
||||
dpkg -i cosmos_1.5-1_all.deb
|
||||
|
||||
if ! test -d /var/cache/cosmos/repo; then
|
||||
cosmos clone "$cmd_repo"
|
||||
|
|
Binary file not shown.
BIN
global/overlay/etc/cosmos/apt/cosmos_1.5-1_all.deb
Normal file
BIN
global/overlay/etc/cosmos/apt/cosmos_1.5-1_all.deb
Normal file
Binary file not shown.
BIN
global/overlay/etc/cosmos/apt/puppetlabs-release-trusty.deb
Normal file
BIN
global/overlay/etc/cosmos/apt/puppetlabs-release-trusty.deb
Normal file
Binary file not shown.
|
@ -63,7 +63,7 @@ ssh_authorized_keys:
|
|||
runcmd:
|
||||
- ["mkdir","/tmp/seed"]
|
||||
- ["mount","/dev/vdb","/tmp/seed"]
|
||||
- ["cp","/tmp/seed/bootstrap-cosmos.sh","/tmp/seed/cosmos_1.2-2_all.deb","/root"]
|
||||
- ["cp","/tmp/seed/bootstrap-cosmos.sh","/tmp/seed/cosmos_1.5-1_all.deb","/root"]
|
||||
- ["cd","/root"]
|
||||
- "cd /root && /root/bootstrap-cosmos.sh ${hostname} ${repo} ${tag}"
|
||||
|
||||
|
@ -112,7 +112,7 @@ fi
|
|||
|
||||
mcopy -i ${seed} ${user_data} ::user-data 2>/dev/null
|
||||
mcopy -i ${seed} ${meta_data} ::meta-data 2>/dev/null
|
||||
mcopy -i ${seed} /etc/cosmos/apt/bootstrap-cosmos.sh /etc/cosmos/apt/cosmos_1.2-2_all.deb ::
|
||||
mcopy -i ${seed} /etc/cosmos/apt/bootstrap-cosmos.sh /etc/cosmos/apt/cosmos_1.5-1_all.deb ::
|
||||
mv ${seed} /var/lib/libvirt/images/
|
||||
virsh pool-refresh default
|
||||
|
||||
|
|
Loading…
Reference in a new issue