|
|
通过修改cloudinit文件也不生效。3 Y! a* T0 |! B7 G4 m, `
( ?) ]- |8 m w4 B# p% D. o# G
# A. T% M# h2 C. e& o
MariaDB [nova]> select hostname,host,display_name from instances where hostname="test1";
0 W. L- a' O1 y0 W+----------+-----------+--------------+
, A; r# _- ?3 e+ d- I/ P| hostname | host | display_name |
! e: k6 H% Z E" M& |0 y+ o+----------+-----------+--------------+0 e4 G$ `: W2 q$ l1 u
| test1 | compute01 | test1 |3 R0 o- P. V) E
| test1 | compute03 | testyongyong |
# m% t- F- h! S2 a$ P4 K$ r) q' R| test1 | compute03 | test1-12 |
* v( [+ B5 |: }+----------+-----------+--------------+
5 [0 b5 A6 y' `" S; w6 ?; \& n, M8 u. _* z
MariaDB [nova]> select id,hostname,host,display_name,uuid from instances where hostname="test1-12";
$ v5 i9 @8 B1 K( ~+-----+----------+-----------+--------------+--------------------------------------+
- W) h8 {9 H! `0 t( Y) W! D( n| id | hostname | host | display_name | uuid |
0 E, B9 ~" m) v3 ]* i% S+-----+----------+-----------+--------------+--------------------------------------+) K: g: C$ u- }# i$ i9 h' a% J
| 307 | test1-12 | compute03 | test1-12 | 9e046241-8c42-473a-8097-b0be9b955473 |, E) f: l4 M$ a
+-----+----------+-----------+--------------+--------------------------------------+4 Y/ Q; Y$ z1 C* g% x
1 row in set (0.00 sec)
: S o6 B: B# d2 F8 n/ ZMariaDB [nova]> select id,hostname,host,display_name,uuid from instances where hostname="test1-12";# E9 ^: v. ]+ H) T
+-----+----------+-----------+--------------+--------------------------------------+3 K5 m1 X2 t8 O" Y' q& x# B8 }
| id | hostname | host | display_name | uuid |. f5 v: L& Z/ z$ t
+-----+----------+-----------+--------------+--------------------------------------+
, _9 q1 p% a% [# p; i7 Z| 307 | test1-12 | compute03 | test1-12 | 9e046241-8c42-473a-8097-b0be9b955473 |5 d4 ~' N. E0 d, q' ]0 l& ?
+-----+----------+-----------+--------------+--------------------------------------+
7 w1 r6 e8 z4 S4 Z5 t# x: |/ P9 v% J& N( F2 B5 O
1 H: l! @6 x& H- K8 O- h; X$ P" v- T" G2 d2 R* X
|
|