src/api2/config/network.rs: allow to update 'auto' flag

This commit is contained in:
Dietmar Maurer
2020-04-22 16:46:46 +02:00
parent 3fce3bc36e
commit f1026a5aa9
4 changed files with 14 additions and 5 deletions

View File

@ -562,7 +562,7 @@ pub const NETWORK_INTERFACE_NAME_SCHEMA: Schema = StringSchema::new("Network int
/// Network Interface configuration
pub struct Interface {
/// Autostart interface
pub autostart: bool,
pub auto: bool,
/// Interface is a physical network device
pub exists: bool,
/// Interface is active (UP)