GNU/Linux >> Linux の 問題 >  >> Ubuntu

Ubuntu 17.10+ Netplanを無効にしますか?

によると:https://wiki.ubuntu.com/Netplan

ネットプランを無効にするには、「netcfg / do_not_use_netplan =trueをpreseedingします(UbuntuServerインストールメディアを起動するときにコマンドラインを追加します」

これは/etc/default/grubを介して行われると思います しかし、正確にはどこに「netcfg / do_not_use_netplan =true」を追加しますか?

追加されますか:GRUB_CMDLINE_LINUX

現在、これを次のように設定しています:

GRUB_CMDLINE_LINUX="ipv6.disable=1"

この既存の設定に「netcfg/do_not_use_netplan =true」を追加するための構文は何ですか?

P.S.はい、ネットプランを削除したいので、質問は具体的にはそれを行う方法についてであり、理由ではありません。

承認された回答:

これを行うための正確な方法は困難であり、ネットプランの初期の段階で現在見つけることはおそらく不可能です。

現在、これを次のように設定しています:

GRUB_CMDLINE_LINUX =” ipv6.disable =1”

/etc/default/grubを意味していると思います 部分的に読む:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="ipv6.disable=1"
<snip>

また、あなたが提供するリンクは、参照されている文言を追加することを示唆していると思います:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX="ipv6.disable=1 netcfg/do_not_use_netplan=true"
<snip>

それを実行してから、次のことを行うことをお勧めします:

sudo update-grub

また、次のものが必要になります:

sudo apt install ifupdown

すでにインストールされている可能性があります。

最後に、/etc/network/interfacesに入力します 手動でネットワークを希望どおりに構成します。

Googleと私が知る限り、このインストール後の正確なプロセスは存在しません。指を交差させて再起動してください!


Ubuntu
  1. Ubuntu – Alt Focusを無効にしますか?

  2. Ubuntu でサービスを無効にする方法

  3. Ubuntu Dock を削除または無効にする方法

  1. Ubuntu18.04でUFWファイアウォールを有効/無効にする方法

  2. Ubuntuでrootアカウントを無効にしますか?

  3. Ubuntu13.04でSuper+Sを無効にしますか?

  1. Ubuntu20.04デスクトップでWaylandを有効/無効にする方法

  2. Ubuntuで自動マウントを無効にする

  3. Ubuntu22.04デスクトップでWaylandを有効/無効にする方法