set-dhcp
Использование
net conf ip set-dhcp [-h] [--to_file] [-e <ethernet address>] [--gen-mac] [--set-gateway]
Описание
Задание динамического адреса интерфейса управления
Аргументы
--to_file
- Redirect output to file (/tmp/cli-stdout.txt).ethernet address
- The hardware address for management interface.--gen-mac
- Flag determining whether to generate mac-address--set-gateway
- Flag determining whether to request gateway from dhcp-server.
Примеры использования
net conf ip set-dhcp
net conf ip set-dhcp --set-gateway
net conf ip set-dhcp --gen-mac