cobbler 杂项
来源:互联网 发布:淘宝秒杀有关的句子 编辑:程序博客网 时间:2024/06/14 10:08
http://blog.oldboyedu.com/autoinstall-cobbler/
cobbler 更改PXE选择菜单选择
vim /etc/cobbler/pxe/pxedefault.template#ks.cfg
RedHat官方中文文档
https://access.redhat.com/documentation/zh-CN/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-syntax.html#sect-kickstart-commandsexpect自动交互
#!/bin/sh
expect <<!
spawn ssh xx@yyy
expect "*Password*"
send "xxx\r"
expect ">"
send "mkdir xxxxx\r"
send "exit\r"
expect eof
!
expect <<!
spawn ssh xx@yyy
expect "*Password*"
send "xxx\r"
expect ">"
send "mkdir xxxxx\r"
send "exit\r"
expect eof
!
#遍历主机,调用脚本建立连接
for communication in `cat /tmp.out`; do
done
#执行自动互联脚本
expect <<!
set timeout 1
spawn ssh-copy-id -i /root/.ssh/id_rsa.pub $1
expect "*connecting*"
send "yes\r"
expect "*password*"
send "123.com\r"
expect eof
!
阅读全文
0 0
- cobbler 杂项
- cobbler
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- 杂项
- Fragment传值PulltorefreshListciew加载更多
- 视频直播 | 从零入门机器学习算法与实践(附微信群)
- redhat eth0
- Red Hat 7.2 配置c…
- apache 配置收集
- cobbler 杂项
- 深度学习岗位面试问题一览
- syntax error near&nbsp…
- 搭建NFS网络文件共享,以及autoFS自…
- NTP时间服务器搭建
- 动态性能视图概述
- SSH配置文件详解
- 算法:从键盘循环输入一个整数,判断是否是素数\质数
- Samba服务器配置全解