Created
September 16, 2014 15:58
-
-
Save qiaohaijun/8238640b3413f287a121 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[@cloud101414824.dp.nm.ss.nop.sogou-op.org contrib]# sh mkimage-yum.sh base | |
+ mkdir -m 755 /tmp/mkimage-yum.sh.9A1yKh/dev | |
+ mknod -m 600 /tmp/mkimage-yum.sh.9A1yKh/dev/console c 5 1 | |
+ mknod -m 600 /tmp/mkimage-yum.sh.9A1yKh/dev/initctl p | |
+ mknod -m 666 /tmp/mkimage-yum.sh.9A1yKh/dev/full c 1 7 | |
+ mknod -m 666 /tmp/mkimage-yum.sh.9A1yKh/dev/null c 1 3 | |
+ mknod -m 666 /tmp/mkimage-yum.sh.9A1yKh/dev/ptmx c 5 2 | |
+ mknod -m 666 /tmp/mkimage-yum.sh.9A1yKh/dev/random c 1 8 | |
+ mknod -m 666 /tmp/mkimage-yum.sh.9A1yKh/dev/tty c 5 0 | |
+ mknod -m 666 /tmp/mkimage-yum.sh.9A1yKh/dev/tty0 c 4 0 | |
+ mknod -m 666 /tmp/mkimage-yum.sh.9A1yKh/dev/urandom c 1 9 | |
+ mknod -m 666 /tmp/mkimage-yum.sh.9A1yKh/dev/zero c 1 5 | |
+ yum -c /etc/yum.conf --installroot=/tmp/mkimage-yum.sh.9A1yKh --setopt=tsflags=nodocs --setopt=group_package_types=mandatory -y groupinstall Core | |
Loaded plugins: product-id, security, subscription-manager | |
Updating certificate-based repositories. | |
rhel-6.latest-rhel-x86_64-server-6 | 3.1 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-6/primary_db | 7.1 MB 00:01 | |
rhel-6.latest-rhel-x86_64-server-6-rhscl-1 | 2.5 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-6-rhscl-1/primary_db | 559 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-dts-6 | 2.5 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-dts-6/primary_db | 36 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-dts2-6 | 2.5 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-dts2-6/primary_db | 129 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-fastrack-6 | 2.5 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-fastrack-6/primary_db | 241 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-ha-6 | 3.0 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-ha-6/primary_db | 93 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-ha-fastrack-6 | 2.4 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-ha-fastrack-6/primary_db | 1.2 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-hpn-6 | 3.0 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-hpn-6/primary_db | 13 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-hpn-fastrack-6 | 2.4 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-hpn-fastrack-6/primary_db | 1.2 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-lb-6 | 3.0 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-lb-6/primary_db | 10 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-lb-fastrack-6 | 2.4 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-lb-fastrack-6/primary_db | 1.2 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-optional-6 | 3.0 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-optional-6/primary_db | 1.8 MB 00:00 | |
rhel-6.latest-rhel-x86_64-server-optional-fastrack-6 | 2.5 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-optional-fastrack-6/primary_db | 67 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-rs-6 | 3.0 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-rs-6/primary_db | 101 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-rs-fastrack-6 | 2.4 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-rs-fastrack-6/primary_db | 1.2 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-sfs-6 | 3.0 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-sfs-6/primary_db | 8.9 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-sfs-fastrack-6 | 2.4 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-sfs-fastrack-6/primary_db | 1.2 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-supplementary-6 | 3.0 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-supplementary-6/primary_db | 158 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-v2vwin-6 | 3.0 kB 00:00 | |
rhel-6.latest-rhel-x86_64-server-v2vwin-6/primary_db | 2.1 kB 00:00 | |
sogou-rhel6-oem | 951 B 00:00 | |
sogou-rhel6-oem/primary | 16 kB 00:00 | |
sogou-rhel6-oem 57/57 | |
sogou-rhel6-op | 951 B 00:00 | |
sogou-rhel6-op/primary | 80 kB 00:00 | |
sogou-rhel6-op 413/413 | |
sogou-rhel6-rd_modules | 951 B 00:00 | |
sogou-rhel6-rd_modules/primary | 63 kB 00:00 | |
sogou-rhel6-rd_modules 419/419 | |
sogou-rhel6-stolen | 951 B 00:00 | |
sogou-rhel6-stolen/primary | 231 kB 00:00 | |
sogou-rhel6-stolen 1137/1137 | |
http://cloud-dev101613140.web.sjs.vm.sogou-op.org/yum-release/saltstack/%24releasever.x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404" | |
Trying other mirror. | |
Error: Cannot retrieve repository metadata (repomd.xml) for repository: sogou-saltstack. Please verify its path and try again | |
+ yum -c /etc/yum.conf --installroot=/tmp/mkimage-yum.sh.9A1yKh -y clean all | |
Loaded plugins: product-id, security, subscription-manager | |
Updating certificate-based repositories. | |
Cleaning repos: rhel-6.latest-rhel-x86_64-server-6 rhel-6.latest-rhel-x86_64-server-6-rhscl-1 | |
: rhel-6.latest-rhel-x86_64-server-dts-6 rhel-6.latest-rhel-x86_64-server-dts2-6 | |
: rhel-6.latest-rhel-x86_64-server-fastrack-6 rhel-6.latest-rhel-x86_64-server-ha-6 | |
: rhel-6.latest-rhel-x86_64-server-ha-fastrack-6 rhel-6.latest-rhel-x86_64-server-hpn-6 | |
: rhel-6.latest-rhel-x86_64-server-hpn-fastrack-6 rhel-6.latest-rhel-x86_64-server-lb-6 | |
: rhel-6.latest-rhel-x86_64-server-lb-fastrack-6 rhel-6.latest-rhel-x86_64-server-optional-6 | |
: rhel-6.latest-rhel-x86_64-server-optional-fastrack-6 rhel-6.latest-rhel-x86_64-server-rs-6 | |
: rhel-6.latest-rhel-x86_64-server-rs-fastrack-6 rhel-6.latest-rhel-x86_64-server-sfs-6 | |
: rhel-6.latest-rhel-x86_64-server-sfs-fastrack-6 rhel-6.latest-rhel-x86_64-server-supplementary-6 | |
: rhel-6.latest-rhel-x86_64-server-v2vwin-6 sogou-rhel6-oem sogou-rhel6-op sogou-rhel6-rd_modules | |
: sogou-rhel6-stolen sogou-saltstack sogou-ws-cdh5 sogou-ws-gym epel-6-epel | |
Cleaning up Everything | |
+ cat | |
mkimage-yum.sh: line 64: /tmp/mkimage-yum.sh.9A1yKh/etc/sysconfig/network: 没有那个文件或目录 | |
+ rm -rf /tmp/mkimage-yum.sh.9A1yKh/usr/lib/locale /tmp/mkimage-yum.sh.9A1yKh/usr/share/locale /tmp/mkimage-yum.sh.9A1yKh/usr/lib/gconv /tmp/mkimage-yum.sh.9A1yKh/usr/lib64/gconv /tmp/mkimage-yum.sh.9A1yKh/usr/bin/localedef /tmp/mkimage-yum.sh.9A1yKh/usr/sbin/build-locale-archive | |
+ rm -rf /tmp/mkimage-yum.sh.9A1yKh/usr/share/man /tmp/mkimage-yum.sh.9A1yKh/usr/share/doc /tmp/mkimage-yum.sh.9A1yKh/usr/share/info /tmp/mkimage-yum.sh.9A1yKh/usr/share/gnome/help | |
+ rm -rf /tmp/mkimage-yum.sh.9A1yKh/usr/share/cracklib | |
+ rm -rf /tmp/mkimage-yum.sh.9A1yKh/usr/share/i18n | |
+ rm -rf /tmp/mkimage-yum.sh.9A1yKh/sbin/sln | |
+ rm -rf /tmp/mkimage-yum.sh.9A1yKh/etc/ld.so.cache | |
+ rm -rf '/tmp/mkimage-yum.sh.9A1yKh/var/cache/ldconfig/*' | |
+ version= | |
+ '[' -r /tmp/mkimage-yum.sh.9A1yKh/etc/redhat-release ']' | |
+ '[' -z '' ']' | |
+ echo 'warning: cannot autodetect OS version, using '\''base'\'' as tag' | |
warning: cannot autodetect OS version, using 'base' as tag | |
+ version=base | |
+ tar --numeric-owner -c -C /tmp/mkimage-yum.sh.9A1yKh . | |
+ docker import - base:base | |
fd207a1c6d1ce90cdd27be9388742a26c6b79e20c1500854b7c2823185d4f94e | |
+ docker run -i -t base:base echo success | |
2014/09/16 15:56:13 exec: "echo": executable file not found in $PATH | |
+ rm -rf /tmp/mkimage-yum.sh.9A1yKh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment