Comments (5)
it was never there... test installed it before running... dnf install -y nmap
make sense to actually add it to the dockerfile...
from opi-poc.
Have we removed nmap
from the pxe container recently:
vagrant@bullseye:/git/opi-poc/integration$ docker compose -f docker-compose.pxe.yml exec -it pxe bash
[root@767b475f2286 /]# nmap --script broadcast-dhcp-discover
bash: nmap: command not found
[root@767b475f2286 /]#
from opi-poc.
It seems that the nmap
command you document here fails on the first run every time, but works afterwards every time.
[root@450fb1d715b5 /]# nmap --script broadcast-dhcp-discover
Starting Nmap 7.92 ( https://nmap.org ) at 2022-07-11 21:26 UTC
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 10.20 seconds
[root@450fb1d715b5 /]# nmap --script broadcast-dhcp-discover
Starting Nmap 7.92 ( https://nmap.org ) at 2022-07-11 21:27 UTC
Pre-scan script results:
| broadcast-dhcp-discover:
| Response 1 of 1:
| Interface: eth0
| IP Offered: 10.127.127.11
| DHCP Message Type: DHCPOFFER
| Server Identifier: 10.127.127.3
| IP Address Lease Time: 10m00s
|_ Subnet Mask: 255.255.255.0
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 10.20 seconds
[root@450fb1d715b5 /]# nmap --script broadcast-dhcp-discover
Starting Nmap 7.92 ( https://nmap.org ) at 2022-07-11 21:27 UTC
Pre-scan script results:
| broadcast-dhcp-discover:
| Response 1 of 1:
| Interface: eth0
| IP Offered: 10.127.127.11
| DHCP Message Type: DHCPOFFER
| Server Identifier: 10.127.127.3
| IP Address Lease Time: 10m00s
|_ Subnet Mask: 255.255.255.0
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 10.22 seconds
[root@450fb1d715b5 /]# nmap --script broadcast-dhcp-discover
Starting Nmap 7.92 ( https://nmap.org ) at 2022-07-11 21:27 UTC
Pre-scan script results:
| broadcast-dhcp-discover:
| Response 1 of 1:
| Interface: eth0
| IP Offered: 10.127.127.11
| DHCP Message Type: DHCPOFFER
| Server Identifier: 10.127.127.3
| IP Address Lease Time: 10m00s
|_ Subnet Mask: 255.255.255.0
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 10.20 seconds
[root@450fb1d715b5 /]#
from opi-poc.
interesting... I haven't noticed...
from opi-poc.
also fails here https://github.com/opiproject/opi-poc/runs/7325367441?check_suite_focus=true
+ bash -c 'docker-compose exec -T pxe nmap --script broadcast-dhcp-discover'
Starting Nmap 7.92 ( https://nmap.org/ ) at 2022-07-13 16:46 UTC
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 10.68 seconds
+ bash -c 'docker-compose exec -T pxe nmap --script broadcast-dhcp-discover'
Starting Nmap 7.92 ( https://nmap.org/ ) at 2022-07-13 16:46 UTC
WARNING: No targets were specified, so 0 hosts scanned.
Nmap done: 0 IP addresses (0 hosts up) scanned in 10.32 seconds
+ bash -c 'docker-compose exec -T pxe nmap --script broadcast-dhcp-discover'
Starting Nmap 7.92 ( https://nmap.org/ ) at 2022-07-13 16:47 UTC
Pre-scan script results:
WARNING: No targets were specified, so 0 hosts scanned.
| broadcast-dhcp-discover:
| Response 1 of 1:
| Interface: eth0
| IP Offered: 10.127.127.12
| DHCP Message Type: DHCPOFFER
| Server Identifier: 10.127.127.3
| IP Address Lease Time: 10m00s
|_ Subnet Mask: 255.255.255.0
Nmap done: 0 IP addresses (0 hosts up) scanned in 10.36 seconds
from opi-poc.
Related Issues (20)
- ansible: add play for nvidia BF to load BFB
- ansible: make sure nvidia emulation service is up for temp
- ansible(arista): command timeout triggered when applying configuration HOT 1
- Need new firmware for Marvell Card HOT 1
- Waiting on new Marvell Card HOT 1
- Get quote for BF3 on Dell HOT 4
- Next Summit to Attend HOT 2
- Nee a new firmware image for the Arista Switches
- IPSEC Demo on BF3 HOT 1
- EVPN Demo on BF3
- Automate the IPSEC Demo HOT 1
- monitor all lab resources in Grafana HOT 1
- sZTP for Marvell Cards HOT 1
- sZTP for Intel Card HOT 1
- sZTP for BF3 Card HOT 1
- sZTP for Pensando Card
- Demo of Nginx on Dell Server with Mt. Evans Running HOT 1
- Document Manual Steps to bring up Mt. Evans with Nginx
- Automate Mt. Evans with Nginx Bringup
- OCP Prep -- https://www.opencompute.org/summit/global-summit - OCP in San Jose -- October 15-17th HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opi-poc.