- 论坛徽章:
- 0
|
yum.localhost 是我的自定义源
install.localhost 是我的http服务器,用于下载kickstart文件
kickstrat- #python -c 'import crypt; print(crypt.crypt("MyPassword", "$6$MySalt"))'
- rootpw --iscrypted $6$MySalt$e0fnxWlZ3UCN4HnSSx6U7zQGgzX7AlGBfZ75msCser0B2ZPRHBmwZjOVW6Cai/1Ba5f7B5uTsucedaHsEd8W6/
- auth --enableshadow --passalgo=sha512
- keyboard us
- timezone Asia/Shanghai --isUtc
- lang en_US.UTF-8
- install
- url --url='http://install.localhost/centos-atomic-host-7'
- bootloader --location=mbr --boot-drive=sda
- clearpart --all --initlabel --drives=sda
- part / --fstype='xfs' --ondisk=sda --size=50000
- #part swap --fstype='swap' --ondisk=sda --size=8000
- part /opt --fstype='xfs' --ondisk=sda --grow
- network --bootproto=static --device=78:2b:cb:69:10:f3 --gateway=192.168.48.1 --ip=192.168.48.122 --nameserver=192.168.48.116 --netmask=255.255.255.0 --ipv6=yes --onboot=yes --activate
- network --hostname=bjyh-48-122
- ostreesetup --nogpg --osname='centos-atomic-host' --remote='centos-atomic-host' --url='http://yum.localhost/centos/7/atomic/x86_64/repo' --ref='centos-atomic-host/7/x86_64/standard'
- firewall --disabled
- selinux --disabled
- firstboot --disabled
- services --disabled='NetworkManager,cloud-init,cloud-config,cloud-final,cloud-init-local'
- services --enabled='network'
- reboot
复制代码 报错信息- Receiving objects: 98% (15435/15682) 287.7 MB
- Receiving objects: 98% (15502/15682) 299.4 MB
- Receiving objects: 99% (15567/15682) 311.2 MB
- Receiving objects: 99% (15670/15682) 322.9 MB
- Preparing deployment of centos-atomic-host/7/x86_64/standard
- Deployment starting: centos-atomic-host/7/x86_64/standard
- Deployment complete: centos-atomic-host/7/x86_64/standard
- Installing bootloader
- .
- Performing post-installation setup tasks
- ** (process:1415): WARNING **: Failed to load shared library 'libgtk-3.so.0' referenced by the typelib: dlopen: cannot load any more object with static TLS
- ** (process:1415): WARNING **: Failed to load shared library 'libgdk-3.so.0' referenced by the typelib: dlopen: cannot load any more object with static TLS
- An unknown error has occured, look at the /tmp/anaconda-tb* file(s) for more details
- ===============================================================================
- An unknown error has occurred
- ===============================================================================
- anaconda 19.31.79-1 exception report
- Traceback (most recent call first):
- File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/rpmostreepayload.py", line 313, in postInstall
- os.rename(boot_grub2_cfg, target_grub_cfg)
- File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 207, in doInstall
- payload.postInstall()
- File "/usr/lib64/python2.7/threading.py", line 764, in run
- self.__target(*self.__args, **self.__kwargs)
- File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 211, in run
- threading.Thread.run(self, *args, **kwargs)
- OSError: [Errno 2] No such file or directory
- What do you want to do now?
- 1) Report Bug
- 2) Debug
- 3) Quit
- Please make your choice from above:
- [anaconda] 1:main* 2:shell 3:log 4:storage-log 5:program-log
复制代码 试过了多次,全部是报这个错,post-installation 这个任务倒底是做哪些工作? |
|