File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
.env
2
- .vscode
2
+ .vscode
3
3
config.yaml
4
4
__debug *
5
+ sub.pem
5
6
6
7
# Created by https://www.toptal.com/developers/gitignore/api/go
7
8
# Edit at https://www.toptal.com/developers/gitignore?templates=go
@@ -29,4 +30,4 @@ __debug*
29
30
# Go workspace file
30
31
go.work
31
32
32
- # End of https://www.toptal.com/developers/gitignore/api/go
33
+ # End of https://www.toptal.com/developers/gitignore/api/go
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ RUN CGO_ENABLED=0 GOOS=${TARGET_OS} GOARCH=${TARGETARCH} go build -o ./cmd/netb
14
14
15
15
FROM alpine:3.20.0@sha256:77726ef6b57ddf65bb551896826ec38bc3e53f75cdde31354fbffb4f25238ebd
16
16
17
+ # Install openssh required for netconf
18
+ RUN apk add openssh
19
+
17
20
WORKDIR /app
18
21
19
22
COPY --from=builder /app/cmd/netbox-ssot/main ./main
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ func (is *IOSXESource) Init() error {
123
123
options .WithAuthUsername (is .SourceConfig .Username ),
124
124
options .WithAuthPassword (is .SourceConfig .Password ),
125
125
options .WithPort (is .SourceConfig .Port ),
126
+ options .WithAuthNoStrictKey (), // inside container we can't confirm ssh key
126
127
)
127
128
if err != nil {
128
129
return fmt .Errorf ("failed to create driver: %s" , err )
You can’t perform that action at this time.
0 commit comments