From 915770a8f95517c85b9cdc0176cee475bc247d81 Mon Sep 17 00:00:00 2001 From: "Brent, Yang Bohan" Date: Sat, 22 Feb 2025 21:53:24 +0900 Subject: [PATCH] Add --static-ipv4 doc --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a5c1cde..27fd4d9 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ Otherwise, you can run this command to revert all changes made by the script: * `--interface ` Manually select a network interface, e.g. eth1 * `--ethx` Disable *Consistent Network Device Naming* to get interface names like *ethX* back * `--ip ` Disable the auto network config (DHCP) and configure a static IP address, e.g. `10.0.0.2`, `1.2.3.4/24`, `2001:2345:6789:abcd::ef/48` + * `--static-ipv4` Disable the auto network config (DHCP) and configure with the current IPv4 address and gateway detected automatically * `--netmask ` e.g. `255.255.255.0`, `ffff:ffff:ffff:ffff::` * `--gateway ` e.g. `10.0.0.1`, `none` if no gateway * `--dns '8.8.8.8 8.8.4.4'`