Skip to content

Instantly share code, notes, and snippets.

@NeverBehave
Created December 11, 2023 08:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NeverBehave/8134791df291c5ddcc25bb2545d82267 to your computer and use it in GitHub Desktop.
Save NeverBehave/8134791df291c5ddcc25bb2545d82267 to your computer and use it in GitHub Desktop.
Cloud-init invalid choice "schema"

If you encounter error like cloud-init devel: error: argument subcommand: invalid choice: 'schema' (choose from 'hotplug-hook', 'net-convert', 'render', 'make-mime')

Simply remove devel your command: it is a command by itself right now.

cloud-init devel schema --config-file user-data -> cloud-init schema --config-file user-data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment