alias immagine
This commit is contained in:
parent
45fb720647
commit
b376d08ed1
1 changed files with 2 additions and 1 deletions
|
|
@ -4,9 +4,10 @@
|
|||
set -xe
|
||||
|
||||
CONFIGURATIONNIX=$1
|
||||
ALIASNAME=$2
|
||||
METAIMG=$(nixos-generate -f lxc-metadata)
|
||||
# IMG_PROXMOX=`nixos-generate -c ${CONFIGURATIONNIX} -f proxmox-lxc`
|
||||
IMG=$(nixos-generate -c "${CONFIGURATIONNIX}" -f lxc)
|
||||
|
||||
lxc image delete nixos || echo true
|
||||
lxc image import --alias nixos "${METAIMG}" "${IMG}"
|
||||
lxc image import --alias "${ALIASNAME}" "${METAIMG}" "${IMG}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue