いくつかエラーが出たので対処方法のメモ
-
network InterfaceがDOWNになってる / IP振れない /
rebootできない-
Option -> Features -> nesting=1 (有効化,ただし非推奨とのこと)
※ 訂正:--unprivilegedオプションの有無は関係なしCLIでの作例$ pct create 999 local:vztmpl/archlinux-base_20230608-1_amd64.tar.zst \ --storage local-lvm --hostname cthostname01 --timezone Asia/Tokyo \ --nameserver=192.168.xx.1 \ --net0 name=eth0,bridge=vmbr0,gw=192.168.xx.1,ip=192.168.xx.yy/24 \ --ssh-public-keys /path/to/.ssh/authorized_keys \ --features nesting=1 -
上記で意図的にrootにパスワードを設けていないので、このコンテナの端末操作にはホストのshellで
pct exec 999 /bin/bashを使う
-
-
pacman実行で keyringのエラーがいっぱい
error: keyring is not writable error: required key missing from keyring error: failed to commit transaction (unexpected error) Errors occurred, no packages were upgraded.- 以下で対処
$ pacman-key --init $ pacman-key --populate archlinux $ pacman -Sy archlinux-keyring
- 以下で対処
-
pacman -Syu実行でめっちゃ遅い-
/etc/pacman.d/mirrorlistをJapanのみ有効化
-