Skip to content

Commit 7ad2a92

Browse files
committed
chore: Fixing the centos 8
1 parent 7e23b0c commit 7ad2a92

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

test/definitions/super-agent/rhel/centos8-super-agent.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717

1818
"instrumentations": {
1919
"resources": [
20+
{
21+
"id": "nr_infra_setup",
22+
"resource_ids": ["host1"],
23+
"source_repository": "https://github.com/newrelic/open-install-library.git",
24+
"deploy_script_path": "test/deploy/linux/shell/roles",
25+
"params": {
26+
"step_prepare": "sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && sed -i '|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*"
27+
}
28+
},
2029
{
2130
"id": "nr_super_agent",
2231
"resource_ids": ["host1"],

test/definitions/super-agent/rhel/centos8arm64-super-agent.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,15 @@
1717

1818
"instrumentations": {
1919
"resources": [
20+
{
21+
"id": "nr_infra_setup",
22+
"resource_ids": ["host1"],
23+
"source_repository": "https://github.com/newrelic/open-install-library.git",
24+
"deploy_script_path": "test/deploy/linux/shell/roles",
25+
"params": {
26+
"step_prepare": "sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-* && sed -i '|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*"
27+
}
28+
},
2029
{
2130
"id": "nr_super_agent",
2231
"resource_ids": ["host1"],

0 commit comments

Comments
 (0)