Skip to content

Commit d3b3186

Browse files
Revert "AGENT-356: Disable 'create pxe-files' command"
This reverts commit 93f7842.
1 parent 05f0986 commit d3b3186

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

cmd/openshift-install/agent.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ var (
7070
},
7171
}
7272

73-
//nolint:varcheck,deadcode
7473
agentPXEFilesTarget = target{
7574
name: "Agent PXE Files",
7675
command: &cobra.Command{
@@ -85,7 +84,7 @@ var (
8584
},
8685
}
8786

88-
agentTargets = []target{agentConfigTarget, agentManifestsTarget, agentImageTarget}
87+
agentTargets = []target{agentConfigTarget, agentManifestsTarget, agentImageTarget, agentPXEFilesTarget}
8988
)
9089

9190
func newAgentCreateCmd() *cobra.Command {

cmd/openshift-install/testdata/agent/pxe/configurations/sno.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Verify a default configuration for the SNO topology
22

3-
skip 'pxe-files generation is disabled'
4-
53
exec openshift-install agent create pxe-files --dir $WORK
64

75
stderr 'The rendezvous host IP \(node0 IP\) is 192.168.111.20'
@@ -43,4 +41,4 @@ apiVersion: v1alpha1
4341
metadata:
4442
name: ostest
4543
namespace: cluster0
46-
rendezvousIP: 192.168.111.20
44+
rendezvousIP: 192.168.111.20

0 commit comments

Comments
 (0)