Virtualmachine corrections #279
			No reviewers
			
				
				
			
		
		
		
	
	
	
		Labels
		
	
	
	
	No labels
	
		
			
	
	help wanted
		
			need testing
		
			status: accepted
		
			status: discussing
		
			type: bug
		
			type: documentation
		
			type: duplicate
		
			type: enhancement
		
			type:hardware
		
			type: invalid
		
			type: major feature
		
			type: minor feature
		
		
			bug
		
			duplicate
		
			enhancement
		
			help wanted
		
			invalid
		
			question
		
			wontfix
		
	
		No milestone
		
			
		
	
	No project
	
		
	
	
	
	
		No assignees
		
	
	
		
			
		
	
	
	
		2 participants
	
	
		
		
	Notifications
	
		
	
	
	
		
	
	
	Due date
No due date set.
	
		Dependencies
		
		
	
	
	No dependencies set.
		Reference: DGNum/netbox-agent#279
		
	
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	
	No description provided.
		
		Delete branch "obeone/virtualmachine_corrections"
	
	Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I add missing debug print (--debug was failing on a VM).
And if lldp is enabled and we are on a VM, multiple errors occurred. I add some checks.
And last thing, maybe it has to be in a separate PR (but for one line...), main now return 0 if everything was ok, as it's what a shell except
Hi @obeone
Thanks for this second PR
Could you remove the update to requirements.txt as it's already handled by your other PR ?
Thanks
Yes !
Sorry, I realized after that this branch embedded the other PR, and I was hoping you'll accept the other one 😄
I do that soon !
Hello, any updates on this ? I felt in this issue when trying to use netbox-agent
76b2d253ceto7d268ea0e8