Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove hard-coded ubuntu user in cloud-init yaml

  • Loading branch information...
commit 2830394da96a86416875ee1f8ef2e20835195f8c 1 parent 609f90d
@robbyt robbyt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 microarmy/firepower.py
View
4 microarmy/firepower.py
@@ -49,8 +49,8 @@ def __str__(self):
#'uuid-dev', 'git-core', 'mercurial', 'python-pip'],
'runcmd': [
['bash', '-c', 'echo fs.file-max = 1000000 | tee -a /etc/sysctl.conf'],
- ['bash', '-c', 'echo ubuntu soft nofile 1000000 | tee -a /etc/security/limits.conf'],
- ['bash', '-c', 'echo ubuntu hard nofile 1000000 | tee -a /etc/security/limits.conf'],
+ ['bash', '-c', 'echo ' + ec2_ssh_username + ' soft nofile 1000000 | tee -a /etc/security/limits.conf'],
+ ['bash', '-c', 'echo ' + ec2_ssh_username + ' hard nofile 1000000 | tee -a /etc/security/limits.conf'],
['sysctl', '-n', '-p'],
]
}
Please sign in to comment.
Something went wrong with that request. Please try again.