unioslo / mreg-cli

Command Line Interface for Mreg
GNU General Public License v3.0
2 stars 7 forks source link

Adding a host to a network with a mac address fails. #304

Closed terjekv closed 3 weeks ago

terjekv commented 3 weeks ago
terjekv-drift@foo> host add -ip 192.168.0.0/23 -contact foo@bar -macaddress aa:bb:cc:dd:ee:ff hostname
'192.168.0.0/23' does not appear to be an IPv4 or IPv6 address
terjekv-drift@foo> host info hostname
Name:         hostname.example.com
Contact:      foo@bar
A_Records     IP               MAC
              192.168.0.50  <not set>
TTL:          (Default)
TXT:          v=spf1 -all
Created:      Tue Oct  8 13:20:50 2024
Updated:      Tue Oct  8 13:20:50 2024