chpvc Command

Purpose

The chpvc command is a command-line interface (CLI) command that manages the configuration of PowerVC.

Syntax

chpvc [ -h ] [ cloud_config | debug | fdisk | firewall | hostname | locale | netroute | network | network_dns | timezone ]

Description

The chpvc command is a PowerVC appliance utility that is used to view or modify system and network configuration parameters on the appliance controller or managed nodes. The chpvc command provides options to configure essential system settings such as hostname, network interfaces, DNS, routing, firewall, and localization parameters.

Flags

Table 1. Flags
Items Description
-h or --help Displays help about the chpvc command.

Subcommands

Note: Run the following command to display help for a subcommand:
chpvc <subcommand> -h

or

chpvc <subcommand> --help
Table 2. Subcommands
Subcommand Options Description
cloud_config --validate YAML_VALIDATION_FILE Validates the cloud configuration data against the YAML validation file.
debug enable Enables the debug option for PowerVC.
fdisk list Lists all the available disk partitions.
firewall add | remove The firewall subcommand has the following options -
  • add - Allows PowerVC to access the IP address of the system.
  • remove - Denies access to the IP address of the system.
hostname modify | show The hostname subcommand has the following options -
  • modify - Changes the system hostname.
  • show - Displays the current system hostname.
locale enable | list | modify The locale subcommand has the following options -
  • enable - Displays the currently enabled locale.
  • list - Lists all the available locales.
  • modify - Sets the system locale.
netroute add | remove The netroute subcommand has the following options -
  • add - Adds a network route.
  • remove - Removes a network route.
network modify | add | show The network subcommand has the following options -
  • modify - Modifies the network settings
  • add - Adds the network settings. For example, IP, mask, gateway.
  • show - Displays the current network settings.
network_dns add | remove The network_dns subcommand has the following options -
  • add - Adds DNS server or domain suffix.
  • remove - Removes DNS server or domain suffix.
timezone status | show | list-timezones | set-time | set-timezone The timezone subcommand has the following options -
  • status - Shows the current time settings.
  • show - Shows the timedated properties
  • list-timezones - Lists all the available time zones.
  • set-time - Sets the system time.
  • set-timezone - Sets the system time zone.