$ sudo netplan --debug apply
例えばつぎは,/etc/netplan/50-cloud-init.yaml の編集で
addresses: [192.168.1.150/24]
と書くべきところを
addresses: [192.168.1.150]
と書いたときに返されるエラー:
$ sudo netplan --debug apply
** (generate:28028): DEBUG: 15:45:46.671: Processing input file /etc/netplan/50-cloud-init.yaml..
** (generate:28028): DEBUG: 15:45:46.681: starting new processing pass
(generate:28028): GLib-GIO-DEBUG: 15:45:46.683: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
/etc/netplan/50-cloud-init.yaml:11:24: Error in network definition: address '192.168.1.150' is missing /prefixlength
addresses: [192.168.1.150]
^
|