求助帖:ubuntu22.10 auto install user-data配置了为何还需要选择语言键盘(如何全自动)

0-现象:配置好autoinstll的PXE与user-data文件安装过程仍然要人工选语言、键盘等,非全自动;------

1.硬件环境:x86_64机器 + U盘(/dev/sda);

2.软件环境:DHCP+PXE启动做好grub与pxe的autoinstall相关文件:

3.user-data文件为人工安装一遍后获取的响应文件------/var/log/installer/autoinstall-user-data

  • #cloud-config
    autoinstall:
    apt:
    disable_components: []
    geoip: true
    preserve_sources_list: false
    primary:
    • arches:
    • amd64
    • i386
      uri: Index of /ubuntu/ | 清华大学开源软件镜像站 | Tsinghua Open Source Mirror
    • arches:
    • default
      uri: Index of /ubuntu-ports
      drivers:
      install: false
      identity:
      hostname: teamol
      password: 66GNI6HlrvEIhotl6$44incWozQaCm.HAnAI1onwZ42cLt1n/rNOHoUdzbtUjg6.utJq1.1FeBhBlgod1M7YgRts5vnmmP4RK1sg59i1
      realname: teamol
      username: teamol
      kernel:
      package: linux-generic
      keyboard:
      layout: us
      toggle: null
      variant: ''
      locale: en_US.UTF-8
      network:
      ethernets:
      enx00e04c6803e3:
      dhcp4: true
      enx4ec197e4f6ae:
      dhcp4: true
      enxe2015072449b:
      critical: true
      dhcp-identifier: mac
      dhcp4: true
      version: 2
      source:
      id: ubuntu-server
      search_drivers: false
      ssh:
      allow-pw: true
      authorized-keys: []
      install-server: true
      storage:
      config:
    • ptable: gpt
      serial: USB_SanDisk_3.2Gen1_0101025e7ed32c68c0797f41acfb4a5b9fb7c1daaf35c7ca0750772f90e0d081e4ea000000000000000000001a55885c0002530091558107952a45ec-0:0
      path: /dev/sda
      wipe: superblock-recursive
      preserve: false
      name: ''
      grub_device: false
      type: disk
      id: disk-sda
    • device: disk-sda
      size: 1127219200
      wipe: superblock
      flag: boot
      number: 1
      preserve: false
      grub_device: true
      offset: 1048576
      type: partition
      id: partition-0
    • fstype: fat32
      volume: partition-0
      preserve: false
      type: format
      id: format-0
    • device: disk-sda
      size: 2147483648
      wipe: superblock
      number: 2
      preserve: false
      grub_device: false
      offset: 1128267776
      type: partition
      id: partition-1
    • fstype: ext4
      volume: partition-1
      preserve: false
      type: format
      id: format-1
    • device: disk-sda
      size: 58253639680
      wipe: superblock
      number: 3
      preserve: false
      grub_device: false
      offset: 3275751424
      type: partition
      id: partition-2
    • name: ubuntu-vg
      devices:
    • partition-2
      preserve: false
      type: lvm_volgroup
      id: lvm_volgroup-0
    • name: ubuntu-lv
      volgroup: lvm_volgroup-0
      size: 29125246976B
      wipe: superblock
      preserve: false
      type: lvm_partition
      id: lvm_partition-0
    • fstype: ext4
      volume: lvm_partition-0
      preserve: false
      type: format
      id: format-2
    • path: /
      device: format-2
      type: mount
      id: mount-2
    • path: /boot
      device: format-1
      type: mount
      id: mount-1
    • path: /boot/efi
      device: format-0
      type: mount
      id: mount-0
      updates: security
      version: 1
相关推荐
酷爱码8 分钟前
在 Linux 中修改 Apache HTTP Server(httpd)默认端口的完整指南
linux·http·apache
jiunian_cn11 分钟前
【Linux】Linux权限
linux·服务器·mysql
betazhou33 分钟前
有没有 MariaDB 5.5.56 对应 MySQL CONNECTION_CONTROL 插件
linux·数据库·mysql·oracle·mariadb
烟雨书信1 小时前
Linux中MySQL的逻辑备份与恢复
linux·运维·mysql
wkj0011 小时前
QuaggaJS 配置参数详解
java·linux·服务器·javascript·quaggajs
藥瓿亭2 小时前
K8S认证|CKS题库+答案| 5.日志审计
linux·运维·docker·云原生·容器·kubernetes·cka
coder_lorraine2 小时前
【Linux系列】Linux用户大揭秘:从“公寓住户”到“社区管理员”的奇幻之旅
linux
藥瓿锻3 小时前
2024 CKA题库+详尽解析| 15、备份还原Etcd
linux·运维·数据库·docker·容器·kubernetes·cka
bbsh20993 小时前
WebFuture:Ubuntu 系统上在线安装.NET Core 8 的步骤
linux·ubuntu·.netcore·webfuture
ZZZKKKRTSAE3 小时前
快速上手Linux全局搜索正则表达式(grep)
linux·服务器·正则表达式