I'd like to create a node for chef infra server using the knife command from workstation.
knife node create [node_name]
Then you will be asked to enter node information in the editor.
I'd like to automate this part, but is there a way to create nodes with only cli?
As far as the documentation goes, there seems to be a way to create a node by specifying a pre-prepared JSON file.
https://docs.chef.io/workstation/knife_node/ #from-file
Use the from file
argument to create a node using existing node data as a template.
Example:Create a node using a JSON file
knife node from file "PATH_TO_JSON_FILE"
366 Is there any other way to save the Python database?
374 I want an event to happen when I click on a particular image on tkinter.
351 I have saved several codes written in python to a visual studio file.
353 I want to create an array of sequences from "1" to a specified number.
361 Add dataframe values of the same structure without column names
© 2023 OneMinuteCode. All rights reserved.