Skip to content

Commit

Permalink
lxd backend
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Jan 24, 2025
1 parent 603de15 commit 888d508
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
11 changes: 9 additions & 2 deletions spread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@ backends:
CPU="${CPU:-4}"
MEM="${MEM:-8}"
cloud_config="$(mktemp)"
sed "s|SPREAD_PASSWORD|$SPREAD_PASSWORD|g" tests/spread/cloud-config.yaml > "$cloud_config"
cloud_config="#cloud-config
ssh_pwauth: true
users:
- default
- name: runner
plain_text_passwd: $SPREAD_PASSWORD
lock_passwd: false
sudo: ALL=(ALL) NOPASSWD:ALL
"
lxc launch --vm \
"${SPREAD_SYSTEM//-/:}" \
Expand Down
10 changes: 0 additions & 10 deletions tests/spread/cloud-config.yaml

This file was deleted.

0 comments on commit 888d508

Please sign in to comment.