0

I have a requirement to add multiple shell scripts and python scripts in the ubuntu autoinstall early-command section.

All documents tell about only the shell commands passing procedure inside early-commands and non of them are telling about the script passing procedure.

If anyone knows please let me know how to inject scripts inside early-commands, examples would be more helpful.

user-data file is :

#cloud-config

autoinstall:

  version: 1

  identity:

    hostname: ubuntu

    password: "password"

    username: ubuntu

  interactive-sections:

   - network

  locale: en_US

  storage:

    layout:

        name: direct

  ssh:

    allow-pw: yes

    install-server: true

  user-data:

    disable_root: false

  
  early-commands:
  
  - ?                       #need to add scripts here
Artur Meinild
  • 21,605
  • 21
  • 56
  • 89
Dushyanth
  • 29
  • 3

0 Answers0