Help us understand the problem. What is going on with this article?

virt-installと対話したい

More than 5 years have passed since last update.

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

% 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)?

いい感じ。

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away