[
https://ovirt-jira.atlassian.net/browse/OVIRT-1170?page=com.atlassian.jir...
]
Barak Korren commented on OVIRT-1170:
-------------------------------------
Oh sorry that should have been:
{code}
rm /etc/resolv.conf
{code}
Or perhaps more safely:
{code}
truncate /etc/resolv.conf
{code}
This should be safe enough, and will block anything that does not use direct IP addresses
to access outside resources.
add option to disable networking (or have it off by default)
------------------------------------------------------------
Key: OVIRT-1170
URL:
https://ovirt-jira.atlassian.net/browse/OVIRT-1170
Project: oVirt - virtualization made easy
Issue Type: New Feature
Reporter: Greg Sheremeta
Assignee: infra
Add option to disable networking (or have it off by default). Basically, we want to
prevent a job from accessing the internet if we want repeatable builds and/or are doing a
downstream build somewhere else. Other/downstream build environments often have networking
off. Copr has an option: (See:
https://lists.fedorahosted.org/archives/list/copr-devel@lists.fedorahoste...
)
In particular, the ovirt-engine-nodejs-modules build-artifacts job *tries* to stay
offline, but an evil node module called 'phantomjs' connects to the internet in a
post-offline-install hook. I'd like the option to disallow that and have the build
fail.
--
This message was sent by Atlassian JIRA
(v1000.773.2#100032)