LoginSignup
3
0

More than 1 year has passed since last update.

LXDでブリッジ接続する方法(Ubuntu20.04)

Last updated at Posted at 2021-09-22

【1】プロファイルの作成

1.ブリッジインターフェースを追加する

以下を参照

2.lxcのprofileを追加する

# lxc profile create bridge

3.作成したprofileにブリッジインターフェースをアタッチする

# lxc network attach-profile br0 bridge eth0

4.作成したprofileにストレージプールをアタッチする

# lxc profile device add bridge root disk path=/ pool=default

【2】コンテナの作成と起動

profileを指定してコンテナを作成する

# lxc launch ubuntu:20.04 testdrive --profile=bridge
3
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0