template-config/install.sh

7 lines
No EOL
251 B
Bash

#!/bin/bash
cp ./vm-{seal,firstrun}.sh /usr/local/sbin/
cp ./vm-firstrun.example-config /etc/sysconfig/vm-firstrun
cp ./vm-firstrun.service /etc/systemd/system/vm-firstrun.service
chmod +x /usr/local/sbin/vm-{seal,firstrun}.sh
systemctl daemon-reload