katzj / ami-creator Goto Github PK
View Code? Open in Web Editor NEWBasic tool to create AMIs for EC2 based off of a kickstart config
Home Page: http://velohacker.com/fedora-notes/announcing-ami-creator/
License: GNU General Public License v3.0
Basic tool to create AMIs for EC2 based off of a kickstart config
Home Page: http://velohacker.com/fedora-notes/announcing-ami-creator/
License: GNU General Public License v3.0
Can't install compat-db45 on centos6 (which is being used to generate the image).
Installing compat-db43 and replacing by db43_load seems to work (not sure yet).
....
.....
....
Retrieving http://mirror.centos.org/centos/5.11/os/x86_64/CentOS/vim-minimal-7.0.109-7.2.el5.x86_64.rpm ...OK
Retrieving http://mirror.centos.org/centos/5.11/os/x86_64/CentOS/yum-3.2.22-40.el5.centos.noarch.rpm ...OK
Retrieving http://mirror.centos.org/centos/5.11/os/x86_64/CentOS/yum-fastestmirror-1.1.16-21.el5.centos.noarch.rpm ...OK
Retrieving http://mirror.centos.org/centos/5.11/os/x86_64/CentOS/yum-metadata-parser-1.1.2-4.el5.x86_64.rpm ...OK
Retrieving http://mirror.centos.org/centos/5.11/os/x86_64/CentOS/zlib-1.2.3-7.el5.x86_64.rpm ...OK
warning: libgcc-4.1.2-55.el5.x86_64: Header V3 DSA/SHA1 Signature, key ID e8562897: NOKEY
Installing: libgcc ##################### [ 1/112]
Installing: setup ##################### [ 2/112]
Installing: filesystem ##################### [ 3/112]
error: unpacking of archive failed on file /sys: cpio: chown
Installing: basesystem ##################### [ 4/112]
Installing: nash ##################### [ 5/112]
Installing: cracklib-dicts ##################### [ 6/112]
Installing: termcap ##################### [ 7/112]
Installing: centos-release-notes ##################### [ 8/112]
Installing: tzdata ##################### [ 9/112]
Installing: glibc-common ##################### [ 10/112]
Installing: glibc ##################### [ 11/112]
Installing: mktemp ##################### [ 12/112]
Installing: zlib ##################### [ 13/112]
Installing: chkconfig ##################### [ 14/112]
Installing: popt ##################### [ 15/112]
Installing: glib2 ##################### [ 16/112]
Installing: nspr ##################### [ 17/112]
Installing: bzip2-libs ##################### [ 18/112]
Installing: audit-libs ##################### [ 19/112]
Installing: libtermcap ##################### [ 20/112]
Installing: bash ##################### [ 21/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $*
'
/bin/sh: error importing function definition for BASH_FUNC_module' Installing: ncurses ##################### [ 22/112] Installing: info ##################### [ 23/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0: BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: libsepol ##################### [ 24/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: readline ##################### [ 25/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $*' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: sqlite ##################### [ 26/112]
Installing: nss ##################### [ 27/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token)' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval/usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: sed ##################### [ 28/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: elfutils-libelf ##################### [ 29/112]
Installing: expat ##################### [ 30/112]
Installing: libattr ##################### [ 31/112]
Installing: libacl ##################### [ 32/112]
Installing: libstdc++ ##################### [ 33/112]
Installing: db4 ##################### [ 34/112]
Installing: iproute ##################### [ 35/112]
Installing: pcre ##################### [ 36/112]
Installing: grep ##################### [ 37/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $*
'
/bin/sh: error importing function definition for BASH_FUNC_module' Installing: hmaccalc ##################### [ 38/112] Installing: binutils ##################### [ 39/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0: BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: gawk ##################### [ 40/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: cpio ##################### [ 41/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $*' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: diffutils ##################### [ 42/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token)' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval/usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: less ##################### [ 43/112] Installing: gzip ##################### [ 44/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: procps ##################### [ 45/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $*
'
/bin/sh: error importing function definition for BASH_FUNC_module' Installing: libxml2 ##################### [ 46/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0: BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: iputils ##################### [ 47/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: centos-release ##################### [ 48/112] Installing: crontabs ##################### [ 49/112] Installing: redhat-logos ##################### [ 50/112] Installing: gdbm ##################### [ 51/112] Installing: libsysfs ##################### [ 52/112] Installing: sgpio ##################### [ 53/112] Installing: cyrus-sasl-lib ##################### [ 54/112] Installing: libcap ##################### [ 55/112] Installing: mingetty ##################### [ 56/112] Installing: ethtool ##################### [ 57/112] Installing: keyutils-libs ##################### [ 58/112] Installing: openssl ##################### [ 59/112] Installing: python-libs ##################### [ 60/112] Installing: python ##################### [ 61/112] Installing: cracklib ##################### [ 62/112] Installing: iscsi-initiator-utils ##################### [ 63/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $*' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: device-mapper-event ##################### [ 64/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token)' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval/usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: dmraid-events ##################### [ 65/112] Installing: findutils ##################### [ 66/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: psmisc ##################### [ 67/112]
Installing: net-tools ##################### [ 68/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $*
'
/bin/sh: error importing function definition for BASH_FUNC_module' Installing: shadow-utils ##################### [ 69/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0: BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
/usr/sbin/groupadd: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
/usr/sbin/groupadd: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
Installing: libutempter ### [ 70/112]warning: group utmp does not exist - using root
Installing: libutempter ##################### [ 70/112]
Installing: tar ##################### [ 71/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: SysVinit ##################### [ 72/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $*' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: e2fsprogs-libs ##################### [ 73/112]
Installing: e2fsprogs ##################### [ 74/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token)' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval/usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: lvm2 ##################### [ 75/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: device-mapper-multipath ##################### [ 76/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $*
'
/bin/sh: error importing function definition for BASH_FUNC_module' Installing: dmraid ##################### [ 77/112] Installing: kpartx ##################### [ 78/112] Installing: device-mapper ##################### [ 79/112] Installing: logrotate ##################### [ 80/112] Installing: libselinux ##################### [ 81/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0: BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: MAKEDEV ##################### [ 82/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $*' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: coreutils ##################### [ 83/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token)' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval/usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: pam ##################### [ 84/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $*
'
/bin/sh: error importing function definition for BASH_FUNC_module' /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0: BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: udev ##################### [ 85/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: krb5-libs ##################### [ 86/112] Installing: util-linux ##################### [ 87/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $*' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: mcstrans ##################### [ 88/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token)' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval/usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: rsyslog ##################### [ 89/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $' /bin/sh: error importing function definition for
BASH_FUNC_module'
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $*
'
/bin/sh: error importing function definition for BASH_FUNC_module' Installing: initscripts ##################### [ 90/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0: BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $_' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: module-init-tools ##################### [ 91/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token )' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval /usr/bin/modulecmd bash $_
'
/bin/sh: error importing function definition forBASH_FUNC_module' Installing: mkinitrd ##################### [ 92/112] Installing: rpm ##################### [ 93/112] /bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token
)'
/bin/sh: BASH_FUNC_module(): line 0:BASH_FUNC_module() () { eval
/usr/bin/modulecmd bash $*' /bin/sh: error importing function definition for
BASH_FUNC_module'
Installing: rpm-libs ##################### [ 94/112]
Installing: rpm-python ##################### [ 95/112]
Installing: bind-libs ##################### [ 96/112]
Installing: python-iniparse ##################### [ 97/112]
Installing: python-elementtree ##################### [ 98/112]
Installing: python-sqlite ##################### [ 99/112]
Installing: m2crypto ##################### [100/112]
Installing: python-urlgrabber ##################### [101/112]
Installing: yum-metadata-parser ##################### [102/112]
Installing: yum-fastestmirror ##################### [103/112]
Installing: yum ##################### [104/112]
Installing: openldap ##################### [105/112]
Installing: libuser ##################### [106/112]
Installing: passwd ##################### [107/112]
Installing: bind-utils ##################### [108/112]
Installing: libselinux-utils ##################### [109/112]
Installing: vim-minimal ##################### [110/112]
Installing: grub ##################### [111/112]
/bin/sh: BASH_FUNC_module(): line 0: syntax error near unexpected token)' /bin/sh: BASH_FUNC_module(): line 0:
BASH_FUNC_module() () { eval/usr/bin/modulecmd bash $*
'
/bin/sh: error importing function definition for`BASH_FUNC_module'
Installing: rootfiles ##################### [112/112]
filesystem-2.4.0-3.el5.centos.x86_64 was supposed to be installed but is not!
Traceback (most recent call last):
File "./ami-creator-master/ami_creator/ami_creator.py", line 222, in
sys.exit(main())
File "./ami-creator-master/ami_creator/ami_creator.py", line 204, in main
creator.configure()
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 737, in configure
self._run_post_scripts()
File "/usr/lib/python2.6/site-packages/imgcreate/creator.py", line 681, in _run_post_scripts
dir = self._instroot + "/tmp")
File "/usr/lib64/python2.6/tempfile.py", line 293, in mkstemp
return _mkstemp_inner(dir, prefix, suffix, flags)
File "/usr/lib64/python2.6/tempfile.py", line 228, in _mkstemp_inner
fd = _os.open(file, flags, 0600)
OSError: [Errno 2] No such file or directory: '/var/tmp/imgcreate-D3rLot/install_root/tmp/ks-script-AflsR5'
ami-creator
Traceback (most recent call last):
File "/usr/local/bin/ami-creator", line 9, in
load_entry_point('ami-creator==0.3', 'console_scripts', 'ami-creator')()
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 305, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 2244, in load_entry_point
return ep.load()
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg/pkg_resources.py", line 1954, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/local/lib/python2.7/dist-packages/ami_creator-0.3-py2.7.egg/ami_creator/ami_creator.py", line 26, in
import imgcreate
ImportError: No module named imgcreate
If I run it directly I get a similar error.
./ami_creator.py
Traceback (most recent call last):
File "./ami_creator.py", line 26, in
import imgcreate
ImportError: No module named imgcreate
Here is the output of the setup.
python ./setup.py install
running install
install_dir /usr/local/lib/python2.7/dist-packages/
Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files
running bdist_egg
running egg_info
creating ami_creator.egg-info
writing ami_creator.egg-info/PKG-INFO
writing top-level names to ami_creator.egg-info/top_level.txt
writing dependency_links to ami_creator.egg-info/dependency_links.txt
writing entry points to ami_creator.egg-info/entry_points.txt
writing ami_creator.egg-info/PKG-INFO
writing top-level names to ami_creator.egg-info/top_level.txt
writing dependency_links to ami_creator.egg-info/dependency_links.txt
writing entry points to ami_creator.egg-info/entry_points.txt
writing manifest file 'ami_creator.egg-info/SOURCES.txt'
reading manifest file 'ami_creator.egg-info/SOURCES.txt'
writing manifest file 'ami_creator.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
running build_py
creating build
creating build/lib.linux-i686-2.7
creating build/lib.linux-i686-2.7/ami_creator
copying ami_creator/ami_creator.py -> build/lib.linux-i686-2.7/ami_creator
copying ami_creator/init.py -> build/lib.linux-i686-2.7/ami_creator
creating build/bdist.linux-i686
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/ami_creator
copying build/lib.linux-i686-2.7/ami_creator/ami_creator.py -> build/bdist.linux-i686/egg/ami_creator
copying build/lib.linux-i686-2.7/ami_creator/init.py -> build/bdist.linux-i686/egg/ami_creator
byte-compiling build/bdist.linux-i686/egg/ami_creator/ami_creator.py to ami_creator.pyc
byte-compiling build/bdist.linux-i686/egg/ami_creator/init.py to init.pyc
creating build/bdist.linux-i686/egg/EGG-INFO
copying ami_creator.egg-info/PKG-INFO -> build/bdist.linux-i686/egg/EGG-INFO
copying ami_creator.egg-info/SOURCES.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying ami_creator.egg-info/dependency_links.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying ami_creator.egg-info/entry_points.txt -> build/bdist.linux-i686/egg/EGG-INFO
copying ami_creator.egg-info/top_level.txt -> build/bdist.linux-i686/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/ami_creator-0.3-py2.7.egg' and adding 'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing distribute-0.6.14-py2.7.egg
creating /usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg
Extracting distribute-0.6.14-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding distribute 0.6.14 to easy-install.pth file
Installing easy_install script to /usr/local/bin
Installing easy_install-2.7 script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/distribute-0.6.14-py2.7.egg
Processing dependencies for distribute==0.6.14
Finished processing dependencies for distribute==0.6.14
Processing ami_creator-0.3-py2.7.egg
creating /usr/local/lib/python2.7/dist-packages/ami_creator-0.3-py2.7.egg
Extracting ami_creator-0.3-py2.7.egg to /usr/local/lib/python2.7/dist-packages
Adding ami-creator 0.3 to easy-install.pth file
Installing ami-creator script to /usr/local/bin
Installed /usr/local/lib/python2.7/dist-packages/ami_creator-0.3-py2.7.egg
Processing dependencies for ami-creator==0.3
Finished processing dependencies for ami-creator==0.3
The image created is not bootable on openstack with extrated kernel and initramfs.
Using a working CentOS6 kernel and initramfs works a bit better (but we'll have missing modules)
We have a bunch of weird warnings such as :
Installing: info ##################### [ 25/168]
install-info: No such file or directory for /usr/share/info/info-stnd.info.gz
Installing: nss ##################### [ 26/168]
Installing: readline ##################### [ 27/168]
install-info: No such file or directory for /usr/share/info/history.info.gz
install-info: No such file or directory for /usr/share/info/readline.info.gz
[...]
Installing: binutils ##################### [ 46/168]
install-info: No such file or directory for /usr/share/info/as.info.gz
install-info: No such file or directory for /usr/share/info/binutils.info.gz
install-info: No such file or directory for /usr/share/info/gprof.info.gz
install-info: No such file or directory for /usr/share/info/ld.info.gz
install-info: No such file or directory for /usr/share/info/standards.info.gz
install-info: No such file or directory for /usr/share/info/configure.info.gz
warning: %post(binutils-2.17.50.0.6-20.el5_8.3.x86_64) scriptlet failed, exit status 1
Installing: cpio ##################### [ 47/168]
install-info: No such file or directory for /usr/share/info/cpio.info.gz
[...]
Installing: findutils ##################### [ 80/168]
install-info: No such file or directory for /usr/share/info/find.info.gz
warning: %post(findutils-1:4.2.27-6.el5.x86_64) scriptlet failed, exit status 1
Installing: shadow-utils ##################### [ 81/168]
/usr/sbin/groupadd: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
/usr/sbin/groupadd: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory
Installing: libutempter ### [ 82/168]warning: group utmp does not exist - using root
Installing: libutempter ##################### [ 82/168]
Installing: net-tools ##################### [ 83/168]
[...]
WARNING: No module xen_blkfront found for kernel 2.6.18-348.4.1.el5xen, continuing anyway
WARNING: No module virtio_pci found for kernel 2.6.18-348.4.1.el5xen, continuing anyway
To run sudo setup.py install
so far I need ez_setup
and imgcreate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.