aboutsummaryrefslogtreecommitdiff
path: root/lib/kvmx/functions
blob: df1bd7abc62f3a66a47ea12796915ff7fca32da9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
#
# Common functions.
#

# Source required functions
#source $APP_BASE/lib/kvmx/misc

# Setup environment
#kvmx_set_env $*

# Generate a keypair
function __kvmx_ssh_keygen {
  if [ ! -z "$2" ]; then
    ssh-keygen -t rsa -b 4096 -f $1 -N '' -C $2
  fi
}