1234567891011121314151617 |
- [Unit]
- Description=LXD - agent - 9p mount
- Documentation=https://linuxcontainers.org/lxd
- ConditionPathExists=/dev/virtio-ports/org.linuxcontainers.lxd
- After=local-fs.target
- DefaultDependencies=no
- [Service]
- Type=oneshot
- RemainAfterExit=yes
- ExecStartPre=-/sbin/modprobe 9pnet_virtio
- ExecStartPre=/bin/mkdir -p /run/lxd_config/9p
- ExecStartPre=/bin/chmod 0700 /run/lxd_config/
- ExecStart=/bin/mount -t 9p config /run/lxd_config/9p -o access=0,trans=virtio
- [Install]
- WantedBy=multi-user.target
|