chef 节点重命名

chef的节点(node)的名字,一旦设定,无法直接修改。重命名的方法是在chef server上删除该节点,然后重新创建。这个过程有点麻烦,希望以后chef进行改进。重命名的步骤如下:

  • 检查节点参数和运行菜单, 特别是要注意记录 run_list 和一些重要参数
% knife node edit c1-2.pubyun.com
{
  "normal": {
    "tags": [

    ],
    "sysctl": {
    },
    "postfix": {
      "relayhost": "[192.168.192.2]"
    }
  },
  "name": "c1-2.pubyun.com",
  "chef_environment": "_default",
  "run_list": [
    "role[ubuntu]"
  ]
}
  • 在chef server上删除 node 和 client
knife client delete c1-2.pubyun.com
knife node delete c1-2.pubyun.com
  • 在节点上删除 文件  /etc/chef/client.pem
  • 在节点上编辑文件  /etc/chef/client.rb,修改 node_name 变量
  • 在节点上重新运行 chef-client,这时节点命名生效,可以使用 knife node list 查看
  • 设置 run_list 和一些变量
knife node run_list add  c1-3.pubyun.com 'role[ubuntu]'
此条目发表在DEVOPS分类目录。将固定链接加入收藏夹。

chef 节点重命名》有 206 条评论

  1. Pingback引用通告: generic tylenol at walmart

  2. Pingback引用通告: Google

  3. Pingback引用通告: 우리카지노

  4. Pingback引用通告: 퍼스트카지노

  5. Pingback引用通告: pomeranian puppies for sale

  6. Pingback引用通告: safestore auto

  7. Pingback引用通告: laptop app

  8. Pingback引用通告: download full version pc games

  9. Pingback引用通告: app download for pc

  10. Pingback引用通告: divorce lawyer singapore

  11. Pingback引用通告: allfnews

  12. Pingback引用通告: Georgia Fake driver's license

  13. Pingback引用通告: cheap canvas wall art

  14. Pingback引用通告: Buy Opana Online

  15. Pingback引用通告: psychedelic mushroom growing kit usa

  16. Pingback引用通告: MAGIC MUSHROOM GROW KIT

  17. Pingback引用通告: click here

  18. Pingback引用通告: datenrettung jona

  19. Pingback引用通告: Herbal incense

  20. Pingback引用通告: Herbal incense

  21. Pingback引用通告: Jewelry

  22. Pingback引用通告: guns for sale gunbroker

  23. Pingback引用通告: shipping containers for sale in tulsa

  24. Pingback引用通告: canada pharmacy

  25. Pingback引用通告: canadian pharmacy

  26. Pingback引用通告: cryptocard

  27. Pingback引用通告: Buy Marijuana Online Ireland

  28. Pingback引用通告: portable toilets for sale

  29. Pingback引用通告: copper wire

  30. Pingback引用通告: vcc buy

  31. Pingback引用通告: pharmacies in canada

  32. Pingback引用通告: delta 8 THC near me

  33. Pingback引用通告: Service Angels

  34. Pingback引用通告: cheap cocaine for sale

  35. Pingback引用通告: 샌즈카지노

  36. Pingback引用通告: 메리트카지노

  37. Pingback引用通告: 코인카지노

  38. Pingback引用通告: Vidalista 40mg

  39. Pingback引用通告: liberty cap mushrooms

  40. Pingback引用通告: siamese kittens for sale near me

  41. Pingback引用通告: Blood Cleaning Services UK

  42. Pingback引用通告: Guns for sale

  43. Pingback引用通告: SEO Services Eswatini

  44. Pingback引用通告: shipping containers for sale

  45. Pingback引用通告: buy Instagram followers

  46. Pingback引用通告: Dmt for sale

  47. Pingback引用通告: container for sale

  48. Pingback引用通告: online cbd shop

  49. Pingback引用通告: Latex Gloves

  50. Pingback引用通告: ktm duke

  51. Pingback引用通告: aka ms remoteconnect

  52. Pingback引用通告: seo services

  53. Pingback引用通告: GOLDEN SUNRISE STRAIN

  54. Pingback引用通告: about

  55. Pingback引用通告: best strapon for pegging

  56. Pingback引用通告: CRUISE HOLIDAYS

  57. Pingback引用通告: Website

  58. Pingback引用通告: X Men Arcade

  59. Pingback引用通告: from canada

  60. Pingback引用通告: g spot vibrator

  61. Pingback引用通告: Vortex Red Dot

  62. Pingback引用通告: bàn học cho bé

  63. Pingback引用通告: free polish dating site

  64. Pingback引用通告: free mature dating sites in usa

  65. Pingback引用通告: is there any real free dating sites

  66. Pingback引用通告: adult

  67. Pingback引用通告: how to use bondage kit

  68. Pingback引用通告: totally free disabled dating sites

  69. Pingback引用通告: free mature dating uk

  70. Pingback引用通告: נערות ליווי בחיפה

  71. Pingback引用通告: squirting strapon dildo

  72. Pingback引用通告: mobile homes for rent in westmoreland county

  73. Pingback引用通告: Canik tp9sf for sale

  74. Pingback引用通告: buy bizarre sex toys

  75. Pingback引用通告: everyday life of a sex toy reviewer

  76. Pingback引用通告: SIG Sauer P210

  77. Pingback引用通告: over 50 dating sites free

  78. Pingback引用通告: free alaska dating

  79. Pingback引用通告: free dating in thailand

  80. Pingback引用通告: pendik escort

  81. Pingback引用通告: is a dating site for one night stands that is free

  82. Pingback引用通告: canadapharmacy.com

  83. Pingback引用通告: slot online

  84. Pingback引用通告: electricmotorcyclescanada.com

  85. Pingback引用通告: myths about women and sex

  86. Pingback引用通告: anal sex toys

  87. Pingback引用通告: Weed for Sale

  88. Pingback引用通告: strap on dildos

  89. Pingback引用通告: realistic dildo

  90. Pingback引用通告: clit vibrator

  91. Pingback引用通告: Jurassic Park Arcade Game

  92. Pingback引用通告: Cannabis Oil

  93. Pingback引用通告: PARROTS FOR SALE

  94. Pingback引用通告: Best software

  95. Pingback引用通告: ATTA MACHINE

  96. Pingback引用通告: best kratom capsules

  97. Pingback引用通告: best kratom

  98. Pingback引用通告: buy Instagram likes

  99. Pingback引用通告: best delta 8 thc gummies

  100. Pingback引用通告: adam and eve dildo

  101. Pingback引用通告: uk disabled dating totally free

  102. Pingback引用通告: free online dating south africa johannesburg

  103. Pingback引用通告: free all access dating websites

  104. Pingback引用通告: tides today at tides.today

  105. Pingback引用通告: totally free chat and dating sites

  106. Pingback引用通告: Food License in Jaipur

  107. Pingback引用通告: Cannabis Edibles

  108. Pingback引用通告: delta 8 for sale

  109. Pingback引用通告: buy legal weed

  110. Pingback引用通告: bachelor's degree

  111. Pingback引用通告: sasha grey pocket stroker

  112. Pingback引用通告: unsual sex toys

  113. Pingback引用通告: silicone bullet vibrator

  114. Pingback引用通告: clit vibrator

  115. Pingback引用通告: BUY SHARKLATO EXOTICS

  116. Pingback引用通告: buy weed online

  117. Pingback引用通告: buy weed

  118. Pingback引用通告: Seattle Weekly

  119. Pingback引用通告: weed near me

  120. Pingback引用通告: how to buy weed online

  121. Pingback引用通告: buy weed

  122. Pingback引用通告: tiktok followers

  123. Pingback引用通告: keto meal plan delivery

  124. Pingback引用通告: guns for sale

  125. Pingback引用通告: keto dumplings

  126. Pingback引用通告: buy thc vape cartridges online

  127. Pingback引用通告: keto diet food delivery

  128. Pingback引用通告: ruger guns for sale

  129. Pingback引用通告: professional movers

  130. Pingback引用通告: Glock Guns for sale

  131. Pingback引用通告: Data obligasi

  132. Pingback引用通告: Delivery Restaurant Parksville

  133. Pingback引用通告: MILF Porn

  134. Pingback引用通告: avrupa yakasi escort

  135. Pingback引用通告: canadian pharmacies

  136. Pingback引用通告: Sig Mpx

  137. Pingback引用通告: Olympic Weight Set

  138. Pingback引用通告: alligator meat online

  139. Pingback引用通告: storage building near me

  140. Pingback引用通告: best adam and eve sex toys

  141. Pingback引用通告: laser hair removal near me

  142. Pingback引用通告: learn more

  143. Pingback引用通告: software buy

  144. Pingback引用通告: Cryptocurrency HBCUC

  145. Pingback引用通告: Armor Shortage

  146. Pingback引用通告: aqua juul

  147. Pingback引用通告: canada pharmacy canada pharmacy

  148. Pingback引用通告: معرفة هوية المتصل

  149. Pingback引用通告: marijuana sales

  150. Pingback引用通告: kush for sale online

  151. Pingback引用通告: glo cartridges for sale

  152. Pingback引用通告: Buy Guns Online

  153. Pingback引用通告: canada pharmacy canada pharmacy

  154. Pingback引用通告: past trauma memory healing

  155. Pingback引用通告: Bolivian Cocaine For Sale

  156. Pingback引用通告: in Canada

  157. Pingback引用通告: Causes of Cervical Cancer

  158. Pingback引用通告: butterfly vibrator review

  159. Pingback引用通告: male enlargement pump

  160. Pingback引用通告: adult erotic stories

  161. Pingback引用通告: bayrampasa escort

  162. Pingback引用通告: CANADA PHARMACY CANADA PHARMACY CANADA PHARMACY

  163. Pingback引用通告: Where To Buy Cocaine

  164. Pingback引用通告: happyluke

  165. Pingback引用通告: happyluke ???300

  166. Pingback引用通告: best toys for men

  167. Pingback引用通告: best way to clean stroker sex toys

  168. Pingback引用通告: erenkoy escort

  169. Pingback引用通告: Magic Mushroom Vancouver

  170. Pingback引用通告: prostate vibrating massager

  171. Pingback引用通告: mersin escort

  172. Pingback引用通告: Takeout

  173. Pingback引用通告: male p spot vibrator

  174. Pingback引用通告: best battery operated vibrators

  175. Pingback引用通告: Precision medical oxygen concentrator

  176. Pingback引用通告: service in canada

  177. Pingback引用通告: lottovip

  178. Pingback引用通告: สมัคร ruay

  179. Pingback引用通告: prostate toy

  180. Pingback引用通告: vibrating stroker

  181. Pingback引用通告: circumcised dildo

  182. Pingback引用通告: سكس في العمل

  183. Pingback引用通告: Marijuana Wax for Sale

  184. Pingback引用通告: vip escort

  185. Pingback引用通告: 99defi

  186. Pingback引用通告: luxury car transport

  187. Pingback引用通告: site de streaming

  188. Pingback引用通告: french streaming

  189. Pingback引用通告: french streaming

  190. Pingback引用通告: melhores telemóveis

  191. Pingback引用通告: CTRLCOIN - Trading platform

  192. Pingback引用通告: facts and myths about sex

  193. Pingback引用通告: couples dual pleasure ring

  194. Pingback引用通告: 1xbit

  195. Pingback引用通告: best in ottawa

  196. Pingback引用通告: glock 30 sf for sale

  197. Pingback引用通告: 머니상

  198. Pingback引用通告: amulet hand

  199. Pingback引用通告: trip to murchison falls

  200. Pingback引用通告: Godfather Og strain

  201. Pingback引用通告: fresh up

  202. Pingback引用通告: buy big chief carts

  203. Pingback引用通告: cockatoo for sale near

  204. Pingback引用通告: West Highland White Terrier

  205. Pingback引用通告: NAPHYRONE FOR SALE

  206. Pingback引用通告: about

评论功能已关闭。