Skip to content

Instantly share code, notes, and snippets.

@yyscamper
Last active January 12, 2016 08:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yyscamper/5a03ca228bb61aea8108 to your computer and use it in GitHub Desktop.
Save yyscamper/5a03ca228bb61aea8108 to your computer and use it in GitHub Desktop.
RackHD Param for Adding Multi Users in OS Bootstrap
{
"name": "Graph.InstallCentOS",
"options": {
"defaults": {
"obmServiceName": "noop-obm-service"
},
"install-os": {
"version": "7.0",
"repo": "{{api.server}}/centos/7/os/x86_64",
"rootPassword": "root",
"hostname": "demoCentOS",
"domain": "vagrantup.com",
"users": [
{
"name": "user1",
"password": "password1",
"uid": 1001,
"sshKey": "xxxxxxxxxx"
},
{
"name": "user2",
"password": "password2",
"uid": 1002,
"sshKey": "xyzxyzxyz..."
}
],
"dnsServers": [ "8.8.8.8" ],
"networkDevices": [
{
"device": "eth0",
"ipv4": {
"ipAddr": "172.31.128.100",
"gateway": "172.31.128.1",
"netmask": "255.255.255.0"
}
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment