LoginSignup
3
3

More than 5 years have passed since last update.

virt-installと対話したい

Last updated at Posted at 2014-11-02

古い情報では、何もオプションをつけなければ対話になるとあったが、対話にはなりません。

% virt-install

そこで、manを読んでみると

% man virt-install
(中略)
       --prompt
         Specifically enable prompting for required information. Default prompting is off (as of
         virtinst 0.400.0)

% virt-install --version
0.600.4

どうやら0.400.0以降は対話で実行するには --prompt オプションをつけて実行すればいいみたいです。

% virt-install --prompt 
What is the name of your virtual machine? 
omochikaeri
How much RAM should be allocated (in megabytes)? 
2048
What would you like to use as the disk (file path)?

いい感じ。

3
3
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
3