Skip to content

Commit

Permalink
ci: use scsi device instead of virtio for e2e tests
Browse files Browse the repository at this point in the history
This commit also fix the install device issue (should be under
`rancheros` section).
Also use a "real" password for root user.

Signed-off-by: Loic Devulder <ldevulder@suse.com>
  • Loading branch information
ldevulder committed May 10, 2022
1 parent 6c42dba commit 304725e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions tests/assets/machineregistration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ spec:
# The cloud config that will be used to provision the node
cloudConfig:
hostname: ros-node-{{ trunc 4 .MachineID }}
install:
device: /dev/vda
users:
- name: root
passwd: root
passwd: r0s@pwd1
rancheros:
install:
device: /dev/sda
debug: true
2 changes: 1 addition & 1 deletion tests/scripts/install-vm
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ script -e -c "virt-install \
--ram=2048 \
--vcpus=2 \
--cpu host \
--disk path=hdd.img,bus=virtio,size=35 \
--disk path=hdd.img,bus=scsi,size=35 \
--check disk_size=off \
--graphics none \
--serial pty \
Expand Down

0 comments on commit 304725e

Please sign in to comment.