Create Persistent Cronjobs on VMware ESXi for ghettoVCB Backups


Edit /etc/rc.local.d/local.sh, insert this before the exit 0 line:
/bin/kill $(cat /var/run/crond.pid)
/bin/echo “0 21 * * 5 /opt/ghettovcb/bin/ghettoVCB.sh -a -g /vmfs/volumes/<$DATASTORE>/ghettoVCB.conf > /vmfs/volumes/<$BACKUP_DATASTORE>/Backups/ghettoVCB-\$(date +%s).log” >> /var/spool/cron/crontabs/root
/usr/lib/vmware/busybox/bin/busybox crond
Run the script:
/bin/sh /etc/rc.local.d/local.sh
Make the changes persistent:
/bin/auto-backup.sh

安装指定版本的ne1000网卡驱动
esxcli software vib install -n ne1000:0.8.4-10vmw.700.1.0.15843807 -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml
esxcli software vib install -n ne1000:0.8.4-11vmw.703.0.20.19193900 -d https://hostupdate.vmware.com/software/VUM/PRODUCTION/main/vmw-depot-index.xml


发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据