- 积分
- 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
' N' A. g- c! u- l3 p) F: N2 I& L# O+ Y6 S6 t6 I# |& r1 u! S
Starting install...
2 b9 W- W5 q0 U! G+ @% X4 cERROR Cannot get interface MTU on 'br0': No such device
9 E5 H/ T+ j6 d( ]+ HDomain installation does not appear to have been successful.
8 [4 _' _0 E% k, GIf it was, you can restart your domain by running:$ d1 k w( r' ^7 b
virsh --connect qemu:///system start Windows2019_x86( o% P. ]/ {& i% S" u- L
otherwise, please restart your installation.9 S. m( f* R; ^) W( i
6 {$ P! u2 J. s/ e1 z创建失败:有问题,检查网卡:
( q( s( C" ?2 J) x/ d! E2 L! X7 q0 I) Z' l1 W; b, n& @1 M2 }3 N3 p+ e1 s C
root@compute01:/usr/src# ip addr T( x+ `) \, t2 a: K
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 10009 E0 b9 g5 S6 R( o6 C: d; ^
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2 w% @' ~% z; e2 |* V+ A; _ inet 127.0.0.1/8 scope host lo' n! Y4 f4 Q. K3 i! q- L$ P
valid_lft forever preferred_lft forever
! m' k! U6 T1 B8 x4 g$ s0 q/ | inet6 ::1/128 scope host 7 P7 ^9 F( j) }2 X, @' |
valid_lft forever preferred_lft forever
4 S5 U( D8 ~ [& J" w. [6 `* g/ X2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 10008 s9 x# o6 G+ {! T; P
link/ether 00:e0:4c:68:10:89 brd ff:ff:ff:ff:ff:ff
5 F8 |/ L* x8 P3: enp9s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000$ Y G; s' \1 z m9 D( y
link/ether d8:50:e6:4a:41:b2 brd ff:ff:ff:ff:ff:ff
: F# f1 y$ q* l# v# Z2 V inet 198.192.168.66/24 brd 198.192.168.255 scope global enp9s0
* z" u. x) r1 l7 ~; { A valid_lft forever preferred_lft forever
2 K! t* n" s" I! m* o6 X. U inet6 fe80::da50:e6ff:fe4a:41b2/64 scope link
# {( F6 f) R$ J. Y% I1 s% P$ }6 M. } valid_lft forever preferred_lft forever
3 L; |" _. x R. w8 S; I+ N4: enp2s0f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000' f. l# y" M+ f) F% J
link/ether 04:25:c5:2a:57:13 brd ff:ff:ff:ff:ff:ff6 T" r7 t# O- k* P+ s7 G: Q# V
inet 192.168.8.66/24 brd 192.168.8.255 scope global enp2s0f0
: r; q( y( U% }" F: O2 Q4 |/ d valid_lft forever preferred_lft forever+ x3 K9 @" ^, I1 ]2 m
inet6 fe80::625:c5ff:fe2a:5713/64 scope link
7 ^8 e: r4 e9 @ valid_lft forever preferred_lft forever# T ~+ @! ^; m* L
5: enp2s0f1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000. O# E2 |; @& ^7 Z+ ^5 @3 x
link/ether 04:25:c5:2a:57:14 brd ff:ff:ff:ff:ff:ff& [8 L' [4 G/ h- a4 D
11: vnet2: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000, c/ `3 ~1 B7 u0 a6 e' Z( F
link/ether fe:54:00:90:65:d2 brd ff:ff:ff:ff:ff:ff$ \0 G! n9 w+ d9 _% \4 O
4 Z# C3 D$ B& x/ v/ v9 K. u
重新配置网络:: y" g9 ~6 p' z6 X% v
8 j9 J* l# m: L% `root@compute01:/usr/src# netplan apply * p2 e) k9 [$ t: M. W; [1 {
8 E7 z9 ~* a2 j
** (generate:6407): WARNING **: 13:00:50.842: `gateway4` has been deprecated, use default routes instead.
( n5 Y$ q6 j* p" H* f0 zSee the 'Default routes' section of the documentation for more details.
2 o: f$ H; ], r$ b8 f$ p, o( D$ m5 V6 s5 T2 q
** (process:6405): WARNING **: 13:00:51.287: `gateway4` has been deprecated, use default routes instead.
* W h' f' |& y" G" J2 p6 o1 j5 XSee the 'Default routes' section of the documentation for more details.
7 A5 g( `6 w# D( Z6 U9 @* _
5 m4 d6 r4 e. A2 [0 j** (process:6405): WARNING **: 13:00:51.298: `gateway4` has been deprecated, use default routes instead.
2 ^1 A/ h1 \$ q4 Q* E; K4 S: f; YSee the 'Default routes' section of the documentation for more details.: M- n" [6 l9 C t& U
r6 u" O8 t( l0 { z" [8 l** (process:6405): WARNING **: 13:00:51.684: `gateway4` has been deprecated, use default routes instead.' ?: x: O8 E, N6 N" G: H7 a* C
See the 'Default routes' section of the documentation for more details. Z- |4 G3 ]. w' U) A; G3 q$ |
+ P9 W7 D( S0 q1 x( {9 J
** (process:6405): WARNING **: 13:00:51.685: `gateway4` has been deprecated, use default routes instead.$ N. }+ Q i1 d% H, y6 y* W( C3 |5 e
See the 'Default routes' section of the documentation for more details.( K# r b$ C8 ~9 s( s: c; }; S5 F0 f
% F6 n- z- I. v9 i8 ?4 F
$ ]0 H1 o! U' B. s: Q4 j& Z! E$ n再重试,问题解决。6 W1 P$ c1 T" A6 K9 ~0 @8 ]+ r
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
; T# R- U* `( ^8 a0 d {
" X( k# Y! _2 C% `+ X& h: E9 LStarting install...# {2 B0 }7 M4 ]) K' f
Creating domain... | 0 B 00:00:00
7 O. |! [7 r- E# P2 b
: Q, Z0 J1 G0 h6 t# h4 IDomain is still running. Installation may be in progress.$ q! T" k* N! K; X) o
You can reconnect to the console to complete the installation process.
) f) m0 Q+ F" J( ~- D4 |
7 d* |' h4 d+ f
, A/ e$ A' I* D$ p8 h |
|