#cloud-config
autoinstall:
apt:
disable_components: []
fallback: abort
geoip: true
mirror-selection:
primary:
- uri: http://mirrors.tuna.tsinghua.edu.cn/ubuntu/
- country-mirror
- arches: &id001
- amd64
- i386
uri: http://archive.ubuntu.com/ubuntu/
- arches: &id002
- s390x
- arm64
- armhf
- powerpc
- ppc64el
- riscv64
uri: http://ports.ubuntu.com/ubuntu-ports
preserve_sources_list: false
security:
- arches: *id001
uri: http://security.ubuntu.com/ubuntu/
- arches: *id002
uri: http://ports.ubuntu.com/ubuntu-ports
codecs:
install: false
drivers:
install: false
identity:
hostname: ubuntu
password: $6$4RaPZK2UyYRZocqE$LoF6Ugx0DF3M9gi0q/Ic/yTPCpm4YKT1u8P5BqH17c7HW8ga0bFWiq/vxcszq71KnL124LR6a.D4RpV3FVHJr1
realname: noz
username: noz
kernel:
package: linux-generic
keyboard:
layout: us
toggle: null
variant: ''
locale: en_US.UTF-8
network:
ethernets:
ens33:
addresses:
- 10.0.17.150/24
nameservers:
addresses:
- 114.114.114.114
search: []
routes:
- to: default
via: 10.0.17.2
version: 2
oem:
install: auto
source:
id: ubuntu-server
search_drivers: false
ssh:
allow-pw: true
authorized-keys: []
install-server: true
storage:
config:
- ptable: gpt
path: /dev/sda
wipe: superblock-recursive
preserve: false
name: ''
grub_device: false
id: disk-sda
type: disk
- device: disk-sda
size: 999292928
wipe: superblock
flag: boot
number: 1
preserve: false
grub_device: true
offset: 1048576
path: /dev/sda1
id: partition-0
type: partition
- fstype: fat32
volume: partition-0
preserve: false
id: format-0
type: format
- device: disk-sda
size: 1879048192
wipe: superblock
number: 2
preserve: false
grub_device: false
offset: 1000341504
path: /dev/sda2
id: partition-1
type: partition
- fstype: ext4
volume: partition-1
preserve: false
id: format-1
type: format
- device: disk-sda
size: 18594398208
wipe: superblock
number: 3
preserve: false
grub_device: false
offset: 2879389696
path: /dev/sda3
id: partition-2
type: partition
- name: ubuntu-vg
devices:
- partition-2
preserve: false
id: lvm_volgroup-0
type: lvm_volgroup
- name: ubuntu-lv
volgroup: lvm_volgroup-0
size: 10737418240B
wipe: superblock
preserve: false
path: /dev/ubuntu-vg/ubuntu-lv
id: lvm_partition-0
type: lvm_partition
- fstype: ext4
volume: lvm_partition-0
preserve: false
id: format-2
type: format
- path: /
device: format-2
id: mount-2
type: mount
- path: /boot
device: format-1
id: mount-1
type: mount
- path: /boot/efi
device: format-0
id: mount-0
type: mount
updates: security
version: 1
07-11
1387
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交