set_network


Description:

[ Version ( since = "1.5.4" ) ]
public bool set_network (bool network) throws Error

set enable network flag

If network is true, then the network is enabled in the libguestfs appliance. The default is false.

This affects whether commands are able to access the network (see "RUNNING COMMANDS" in guestfs(3)).

You must call this before calling launch, otherwise it has no effect.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error