7 lines
224 B
Bash
7 lines
224 B
Bash
|
#!/bin/sh -e
|
||
|
|
||
|
apt-get -y install /boot/firmware/cloud-init/torch-agent_0.0.4-1_all.deb
|
||
|
cp -r /boot/firmware/cloud-init/torch-config/* /etc/torch/
|
||
|
chown torch -R /etc/torch
|
||
|
systemctl daemon-reload
|
||
|
systemctl enable torch-agent
|