|
|
通过修改cloudinit文件也不生效。, ^( M: D$ j$ |- v
& d% _$ V- x' J: h
1 u/ z I0 R$ |% K) W( W- _
MariaDB [nova]> select hostname,host,display_name from instances where hostname="test1";
. K. [+ ?1 i, ?: U A+----------+-----------+--------------+
1 f3 }; {/ o5 P8 j7 V0 B, b| hostname | host | display_name |
, V4 x) i0 G5 c* L) G+----------+-----------+--------------+1 M( |# |0 e) F3 b, Q: s
| test1 | compute01 | test1 |" ~" A* o) k$ r- u" q, H/ I
| test1 | compute03 | testyongyong |5 p# U, J( Q/ c: Q7 C
| test1 | compute03 | test1-12 |. g/ s% H3 R/ F! B* V3 Z
+----------+-----------+--------------+: z, R" T3 S+ @& n) i( v! Z
" z2 s* H" {- t4 JMariaDB [nova]> select id,hostname,host,display_name,uuid from instances where hostname="test1-12";
3 h, D" g& k/ d# t0 w8 I1 S* h+-----+----------+-----------+--------------+--------------------------------------+
% a+ ~! x; I' H7 K| id | hostname | host | display_name | uuid |
! e: X, U3 `9 ^" D$ ?+-----+----------+-----------+--------------+--------------------------------------+$ f" r) Q' B, _, m8 U( C
| 307 | test1-12 | compute03 | test1-12 | 9e046241-8c42-473a-8097-b0be9b955473 |
- V. i; J; x, }( q8 g+-----+----------+-----------+--------------+--------------------------------------+
6 l% Z9 G7 u! _! Q: w1 row in set (0.00 sec)6 l+ Q- c! c+ Y( M. @) g6 Q
MariaDB [nova]> select id,hostname,host,display_name,uuid from instances where hostname="test1-12";+ `- |0 i( _' F" m* S" U% S
+-----+----------+-----------+--------------+--------------------------------------+
. }$ ^+ |' f6 Z| id | hostname | host | display_name | uuid |
. u1 q8 j8 A+ r$ f+-----+----------+-----------+--------------+--------------------------------------+
' Q |5 L6 A( t6 b3 Q| 307 | test1-12 | compute03 | test1-12 | 9e046241-8c42-473a-8097-b0be9b955473 |( \1 ]+ h2 h+ o8 F7 G
+-----+----------+-----------+--------------+--------------------------------------+
( `/ _2 m* A% J) g% y! x# N) y8 W% L9 N! D; {9 T. ?$ t$ Z
% R+ _+ E3 V- S7 \
9 Q3 y G2 c# H |
|