Skip to content

Commit 9dc7e5e

Browse files
committed
Enable Lima's loadDotSSHPubKeys SSH option
Lima v1.0.0 disabled this option by default but it's needed for Ansible which connects via SSH.
1 parent 7c76169 commit 9dc7e5e

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

pkg/lima/files/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ mounts:
1515
mountType: "virtiofs"
1616
ssh:
1717
forwardAgent: true
18+
loadDotSSHPubKeys: true
1819
networks:
1920
- vzNAT: true
2021
{{ if .Config.PortForwards }}

pkg/lima/instance_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ mounts:
6060
mountType: "virtiofs"
6161
ssh:
6262
forwardAgent: true
63+
loadDotSSHPubKeys: true
6364
networks:
6465
- vzNAT: true
6566
@@ -137,6 +138,7 @@ mounts:
137138
mountType: "virtiofs"
138139
ssh:
139140
forwardAgent: true
141+
loadDotSSHPubKeys: true
140142
networks:
141143
- vzNAT: true
142144

0 commit comments

Comments
 (0)