- 积分
- 16844
在线时间 小时
最后登录1970-1-1
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
root@compute01:/usr/src# virt-install --name=Windows2019_x86 --ram 8192 --vcpus=4 --disk path=/usr/src/Windows2019-x86.qcow2,format=qcow2,size=15,bus=virtio --accelerate --cdrom /usr/src/cn_windows_server_2019_x64_dvd_2d80e042.iso --vnc --vncport=5906 --vnclisten=0.0.0.0 --network bridge=br0,model=virtio --noautoconsole
* @+ n7 F4 w3 u" l3 [* m
2 ?& P+ x* |. a$ n3 q/ qStarting install...
/ X, B' m! E, R d0 v- s. hERROR Cannot get interface MTU on 'br0': No such device
2 r3 |% A2 Z! V6 z! V MDomain installation does not appear to have been successful.
* f' B0 Y/ Z$ D- {If it was, you can restart your domain by running:- k5 o g1 r" p/ F( q6 K
virsh --connect qemu:///system start Windows2019_x860 A4 y z, A/ f& i6 u
otherwise, please restart your installation.3 t z; p7 Y% f0 j) p2 u) }
* `: T# L/ s6 A3 w+ L5 V
创建失败:有问题,检查网卡:) B2 |0 k' B- g& a. U
4 u) w3 E+ g5 {- D$ n0 _% Froot@compute01:/usr/src# ip addr
; t, C, j) q# Y! E% K; E1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
' E. x" }/ j) V2 ]& H% D link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
( ?: j9 p( B6 ]6 V9 P7 C% D inet 127.0.0.1/8 scope host lo7 p9 n$ R. ^ y/ [& ~! F
valid_lft forever preferred_lft forever
9 ?# x n% s4 C7 c) b9 @ inet6 ::1/128 scope host 5 O& t% S! {6 J" [ r
valid_lft forever preferred_lft forever
5 X9 W4 n8 B, r9 a# d( s1 o, Q2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000( f, f9 w! p" l# ` d4 D! W
link/ether 00:e0:4c:68:10:89 brd ff:ff:ff:ff:ff:ff6 j5 h5 T4 X- S$ Z4 m5 i/ M
3: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
4 m8 @2 g6 p3 W6 s/ X& Y+ Q! C link/ether d8:50:e6:4a:41:b2 brd ff:ff:ff:ff:ff:ff) \5 d; v) l- g4 e
inet 198.192.168.66/24 brd 198.192.168.255 scope global enp9s0
7 Z) E0 `& {; f4 E+ }. }, k valid_lft forever preferred_lft forever/ g, E# P \' a/ m( a& T, f
inet6 fe80::da50:e6ff:fe4a:41b2/64 scope link . B& m3 P }& I3 G; d: `2 ~. {0 Y
valid_lft forever preferred_lft forever
3 n# z! |2 U! K4 J4: enp2s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 10003 k- G3 F U& ~; a2 A
link/ether 04:25:c5:2a:57:13 brd ff:ff:ff:ff:ff:ff
1 _) `7 w3 x5 @; u+ t, W* c inet 192.168.8.66/24 brd 192.168.8.255 scope global enp2s0f02 k& g' V+ _% r9 D8 e* H- K" e
valid_lft forever preferred_lft forever
8 N2 s0 P5 d h' q8 l inet6 fe80::625:c5ff:fe2a:5713/64 scope link ' I) t0 c5 E- c8 Y+ k
valid_lft forever preferred_lft forever5 v5 Y& r3 O% K# Q3 ^9 s; n+ t" p1 Z
5: enp2s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000" i, E) @6 ^0 H, H$ s% ^; q, {$ `) Q
link/ether 04:25:c5:2a:57:14 brd ff:ff:ff:ff:ff:ff I S) I5 G9 b# r& G$ Y% n
11: vnet2: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
2 t: Z4 v. x6 x2 N: Q link/ether fe:54:00:90:65:d2 brd ff:ff:ff:ff:ff:ff
: }; ?: r2 n3 @- O0 s( Q+ N/ d' r C
& E; A* B- V3 z. i5 R; F重新配置网络:
) V2 _/ ~: Z! A; T6 [, J; y# Z- H. _% s& n. p" e4 W
root@compute01:/usr/src# netplan apply
2 [* Z) I: \! q
8 f+ K/ j& K, K4 ]( F** (generate:6407): WARNING **: 13:00:50.842: `gateway4` has been deprecated, use default routes instead.
' y% w5 \: P: u3 u4 Y! h8 |. m; Z6 qSee the 'Default routes' section of the documentation for more details.
, i2 h7 d0 G4 J, a9 s$ i" U ?
5 F- S A1 q9 E1 m/ r** (process:6405): WARNING **: 13:00:51.287: `gateway4` has been deprecated, use default routes instead.
- c* `# B" H) j" c6 l; }) G7 @See the 'Default routes' section of the documentation for more details.
8 n1 g R" d0 w8 d' `* Q0 d* N8 N, |( h# r4 d
** (process:6405): WARNING **: 13:00:51.298: `gateway4` has been deprecated, use default routes instead.
! V; Z) D* c9 WSee the 'Default routes' section of the documentation for more details.
+ e, g$ a' q% s1 {0 a8 n' Y) P) G
** (process:6405): WARNING **: 13:00:51.684: `gateway4` has been deprecated, use default routes instead.
1 u' S' @* B( V: L9 _See the 'Default routes' section of the documentation for more details.6 [' t; j' p. X& c3 D: U
* D& u1 J; t4 V9 S9 a/ e. M
** (process:6405): WARNING **: 13:00:51.685: `gateway4` has been deprecated, use default routes instead.
/ b8 [0 y) G/ g8 h: m. J9 ?See the 'Default routes' section of the documentation for more details.
4 W' j5 N' V% [: R/ K6 X
+ t( Y/ F, ^; u9 Z- n& [6 V( m$ t
. a) {2 P4 m1 ?% z% g% u再重试,问题解决。
% O6 u7 k6 o6 O7 e2 |$ `+ ]root@compute01:/usr/src# virt-install --name=Windows2019_x86 --ram 8192 --vcpus=4 --disk path=/usr/src/Windows2019-x86.qcow2,format=qcow2,size=15,bus=virtio --accelerate --cdrom /usr/src/cn_windows_server_2019_x64_dvd_2d80e042.iso --vnc --vncport=5906 --vnclisten=0.0.0.0 --network bridge=br0,model=virtio --noautoconsole
! y( K4 }" {+ n- F6 k
( u( G, F" ?6 q- W8 y9 kStarting install...
) m5 n# y, B- i" Q1 f* b$ E+ s+ ZCreating domain... | 0 B 00:00:00 $ j Z5 B4 i3 u0 Q$ @, F8 c3 h
2 k( S' G# h( s q, K! _Domain is still running. Installation may be in progress.4 B: c; S# j. V1 a2 k" K
You can reconnect to the console to complete the installation process.
! P& b1 d7 j0 r* P& P3 O2 s4 D# _: w3 ]" t- V
1 ^+ _. j2 s! G: B3 Z Q* e
|
|