I just found the first error:
Script downloads ubuntu-12.04-server-cloudimg-amd64-root.tar.gz
(actually ubuntu-12.04.3-server-cloudimg-amd64-root.tar.gz redirects to
ubuntu-12.04-server-cloudimg-amd64-root.tar.gz), but then tries to
uncompress ubuntu-12.04.3-server-cloudimg-amd64-root.tar.gz:
---
This filesystem will be automatically checked every 34 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Untar file system
tar: ubuntu-12.04.3-server-cloudimg-amd64-root.tar.gz: Cannot open: No
such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
Extract done
Begin customizing image
./createUbuntuCSimageXen.sh: line 66: etc/init/hvc0.conf: No such file
or directory
sed: can't read boot/grub/menu.lst: No such file or directory
sed: can't read etc/fstab: No such file or directory
sed: can't read boot/grub/grub.cfg: No such file or directory
sed: can't read etc/fstab: No such file or directory
sed: can't read etc/fstab: No such file or directory
sed: can't read etc/cloud/cloud.cfg: No such file or directory
./createUbuntuCSimageXen.sh: line 80: etc/cloud/cloud.cfg.d/90_dpkg.cfg:
No such file or directory
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|---
/usr/lib/python2.7/dist-packages/cloudinit/DataSourceCloudStack.py.old
2012-04-11 03:54:56.000000000 +0000
|+++ /usr/lib/python2.7/dist-packages/cloudinit/DataSourceCloudStack.py
2013-09-07 01:01:02.482498743 +0000
--------------------------
File to patch:
---
I'll just change that LINK variable to:
http://cloud-images.ubuntu.com/releases/precise/release/ubuntu-12.04-server-cloudimg-amd64-root.tar.gz
On 9/9/13 11:14 AM, France wrote:
Carlos,
just one quick question. Which OS type should be used when registering
this Ubuntu created VHD on CS 4.1.1 with XS 6.0.2?
https://github.com/creategui/CloudStackImageScripts
Tnx.
F.