Score:2

Ubuntu autoinstall disable prompt during iso installation

gn flag

I'm generating my own iso using autoinstall, here is the configuration:

#cloud-config
autoinstall:
  version: 1
  identity:
    hostname: foo-ubuntu
    password: "qqqaaaqqqaaa"
    username: abcabc
  late-commands:
    - cp -r /cdrom/copy_to_iso/ /target/opt/
  user-data:
    runcmd:
      - |
        mkdir -vp /opt/INIT/
        mv -v /opt/copy_to_iso/upgrade_or_install_packages/ /opt/
        mv -v /opt/copy_to_iso/foo_installation/* /opt/INIT/ 
        mv -v /opt/copy_to_iso/appa_scripts /opt/appa_scripts
        rm -rvf /opt/copy_to_iso
        bash -x /opt/appa_scripts/setup_system_config.sh install_mode

In the part of the userdata during the installation, the user can use prompt and I want prevent him from using prompt unless he presses ESC for example. How can I do it? preferably without installing any packages.

Brett Holman avatar
cn flag
Which part is causing the prompt? It it the script /opt/appa_scripts/setup_system_config.sh?
lior_azroel avatar
gn flag
no, this part: setup_system_config.sh
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.