mirror of
https://github.com/BigfootACA/arch-image-builder.git
synced 2024-11-14 14:23:26 +08:00
24 lines
494 B
YAML
24 lines
494 B
YAML
# USB Gadget tools
|
|
pacman:
|
|
install:
|
|
- systemd-gadget
|
|
- dnsmasq
|
|
systemd:
|
|
disable:
|
|
# Disable tty ACM to avoid bugs
|
|
- getty@ttyGS0.service
|
|
- usbgadget-func-acm.service
|
|
enable:
|
|
- gadget-init.service
|
|
- gadget-start.service
|
|
- usbgadget-func-rndis.service
|
|
# Enable systemd-networkd for RNDIS
|
|
- systemd-networkd.service
|
|
filesystem:
|
|
files:
|
|
- path: /etc/systemd/network/sharenet.network.d/override.conf
|
|
content: |
|
|
[DHCPServer]
|
|
EmitRouter=no
|
|
EmitDNS=no
|