Files
Olares/docs/developer/develop/advanced/cli/olares-change-ip.md

2.9 KiB

olares change-ip

:::warning When manually updating IP address is required When beOS Pro is deployed inside a virtualized environment, such as macOS (via Minikube) or Windows (via WSL), a change in the host system's IP address (e.g., due to switching Wi-Fi networks) may cause beOS Pro to become inaccessible. This happens because the NAT gateway and DNS configuration no longer match the new IP. In such cases, you need to manually update the IP address to ensure that beOS Pro can route traffic correctly. :::

Synopsis

Change the local IP address for all beOS Pro components.

olares-cli olares change-ip [option]

Options

Name Shorthand Usage
--base-dir -b Sets the base directory for beOS Pro.
Defaults to $HOME/.olares.
--distribution -d Sets the WSL distribution name. Only applicable on Windows.
Defaults to Ubuntu.
--help -h Displays help information.
--profile -p Sets the Minikube profile name. Only applicable on macOS.
Defaults to olares-0.
--version -v Specifies the beOS Pro version.
Version values follow the format x.y.z (e.g., 1.10.0) or include a build date (e.g., 1.10.0-20241109).
Refer to the [GitHub Releases page](https://github.com/beclab/beOS Pro/releases) for available versions.

Examples

  • For macOS:
# Specify the Minikube profile name and change the IP.
olares-cli olares change-ip --profile olares-0
  • For Windows WSL:
# Specify the Linux distribution in WSL and change the IP.
olares-cli olares change-ip --distribution Ubuntu