8 lines
183 B

  1. #!/bin/bash
  2. apt-get install lxc -y --force-yes </dev/null
  3. ## required to access the created lxc !
  4. if ! [ -e ~/.ssh/id_rsa ]; then
  5. ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa -q
  6. fi