6 lines
163 B
Bash
Executable File
6 lines
163 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cp /etc/pve/datacenter.cfg /root/backup/
|
|
|
|
/usr/bin/sed -i "s/lower=".*"/lower=$(/usr/bin/date '+%y%m%d'01),upper=900000000/g" /etc/pve/datacenter.cfg
|