lxd-agent-9p.service 489 B

1234567891011121314151617
  1. [Unit]
  2. Description=LXD - agent - 9p mount
  3. Documentation=https://linuxcontainers.org/lxd
  4. ConditionPathExists=/dev/virtio-ports/org.linuxcontainers.lxd
  5. After=local-fs.target
  6. DefaultDependencies=no
  7. [Service]
  8. Type=oneshot
  9. RemainAfterExit=yes
  10. ExecStartPre=-/sbin/modprobe 9pnet_virtio
  11. ExecStartPre=/bin/mkdir -p /run/lxd_config/9p
  12. ExecStartPre=/bin/chmod 0700 /run/lxd_config/
  13. ExecStart=/bin/mount -t 9p config /run/lxd_config/9p -o access=0,trans=virtio
  14. [Install]
  15. WantedBy=multi-user.target