Generation III Commands

Because of the underlying operating system changes from Generation II (FMOS releases prior to 8.26) to Generation III, several FMOS commands have changed.

Added

  • fmos factory-reset: This command can be used to erase all data and configuration from an machine and return it to a clean state
  • fmos health: This command replaces the fmos status command
  • cat /etc/fmos-release: This replaces fmos version
  • fmos config apply: This replaces fmos redeploy

Removed

  • fmos redeploy
  • fmos status: Users should use the fmos health command instead
  • fmos enable-updates
  • fmos install: Removed because the FMOS root file system is immutable
  • fmos version: To view the current FMOS version, use cat /etc/fmos-release
  • fmos resizedisk
  • fmos config -e
  • fmos config --edit

Replaced Commands

The current command-line editor, fmos config --edit has been removed and replaced with new commands for configuring FMOS from the command line. This replacement for command-line configuration mechanism borrows the concept of category-based editing from the FMOS Control Panel. The tool will display only the variables within the specified category.

Command Description
fmos config categories List available configuration categories
fmos config schema <category> Print the schema document for a given category
fmos config get <category> Print the current values for variables in a given category
fmos config put <category> Replace the values in a given category
fmos config apply <playbook> Apply configuration policy for the specified playbook