Skip to content

Commit

Permalink
mantle/kola: login from discovery mode
Browse files Browse the repository at this point in the history
This has the same effect, just uses one fewer command!
  • Loading branch information
dustymabe committed May 7, 2024
1 parent cb94590 commit b305448
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mantle/cmd/kola/resources/iscsi_butane_setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,7 @@ storage:
#!/bin/bash
set -euxo
# Mount the iscsi target
iscsiadm --mode discovery --type sendtargets --portal 127.0.0.1
iscsiadm --mode node --targetname iqn.2023-10.coreos.target.vm:coreos --login
iscsiadm --mode discovery --type sendtargets --portal 127.0.0.1 --login
# Give a bit of time to udev to create the persistent names paths
sleep 2
# Install coreos
Expand Down

0 comments on commit b305448

Please sign in to comment.