Teach swap units to support the _netdev option as well, which should make swaps on iSCSI possible. This mirrors the logic we already have for regular mounts in both the fstab-generator and the core (mount.c/swap.c). Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
211 B
SYSTEMD
11 lines
211 B
SYSTEMD
# Automatically generated by systemd-fstab-generator
|
|
|
|
[Unit]
|
|
Documentation=man:fstab(5) man:systemd-fstab-generator(8)
|
|
SourcePath=/etc/fstab
|
|
After=blockdev@dev-sdx1.target
|
|
|
|
[Swap]
|
|
What=/dev/sdx1
|
|
Options=_netdev
|