format!("{} {}", self.state.render(), self.name)
}
}
-
+++ /dev/null
-edition = "2021"
use crate::SummaryOption;
use proxmox_installer_common::{
- setup::LocaleInfo,
options::{
- BootdiskOptions, BtrfsRaidLevel, FsType, NetworkOptions, TimezoneOptions,
- PasswordOptions, ZfsRaidLevel,
+ BootdiskOptions, BtrfsRaidLevel, FsType, NetworkOptions, PasswordOptions, TimezoneOptions,
+ ZfsRaidLevel,
},
+ setup::LocaleInfo,
};
pub const FS_TYPES: &[FsType] = {
use super::*;
use proxmox_installer_common::{
setup::{
- Dns, Gateway, Interface, InterfaceState, IsoInfo, IsoLocations, NetworkInfo, ProductConfig,
- ProxmoxProduct, Routes, SetupInfo,
+ Dns, Gateway, Interface, InterfaceState, IsoInfo, IsoLocations, NetworkInfo,
+ ProductConfig, ProxmoxProduct, Routes, SetupInfo,
},
utils::{CidrAddress, Fqdn},
};
- use std::{collections::HashMap, path::PathBuf};
use std::net::{IpAddr, Ipv4Addr};
+ use std::{collections::HashMap, path::PathBuf};
fn dummy_setup_info() -> SetupInfo {
SetupInfo {
-use std::{
- collections::HashMap,
- fmt,
- net::IpAddr,
-};
+use std::{collections::HashMap, fmt, net::IpAddr};
use serde::{Serialize, Serializer};
use crate::options::InstallerOptions;
use proxmox_installer_common::{
- options::{AdvancedBootdiskOptions, BtrfsRaidLevel, Disk, FsType, ZfsRaidLevel},
- setup::InstallZfsOption,
- utils::CidrAddress,
- };
+ options::{AdvancedBootdiskOptions, BtrfsRaidLevel, Disk, FsType, ZfsRaidLevel},
+ setup::InstallZfsOption,
+ utils::CidrAddress,
+};
/// See Proxmox::Install::Config
#[derive(Serialize)]
use crate::InstallerState;
use proxmox_installer_common::{
+ disk_checks::{
+ check_btrfs_raid_config, check_disks_4kn_legacy_boot, check_for_duplicate_disks,
+ check_zfs_raid_config,
+ },
options::{
- AdvancedBootdiskOptions, BootdiskOptions, BtrfsBootdiskOptions, Disk,
- FsType, LvmBootdiskOptions, ZfsBootdiskOptions,
- ZFS_CHECKSUM_OPTIONS, ZFS_COMPRESS_OPTIONS,
+ AdvancedBootdiskOptions, BootdiskOptions, BtrfsBootdiskOptions, Disk, FsType,
+ LvmBootdiskOptions, ZfsBootdiskOptions, ZFS_CHECKSUM_OPTIONS, ZFS_COMPRESS_OPTIONS,
},
setup::{BootType, ProductConfig, ProxmoxProduct},
- disk_checks::{check_btrfs_raid_config, check_for_duplicate_disks, check_disks_4kn_legacy_boot, check_zfs_raid_config},
};
pub struct BootdiskOptionsView {
};
use super::FormView;
-use crate::{
- system, InstallerState,
-};
+use crate::{system, InstallerState};
use proxmox_installer_common::{
options::TimezoneOptions,
setup::{KeyboardMapping, LocaleInfo},
--- /dev/null
+edition = "2021"