summaryrefslogtreecommitdiff
path: root/morphlib/exts/simple-network.configure
Commit message (Collapse)AuthorAgeFilesLines
* Add dns option to simple-network conf extRichard Ipsum2015-04-151-1/+8
| | | | Change-Id: I0f4490d76caca802536b21085ea0d770fb8c0798
* simple-network: only try to rename "10-dhcp.network" if it actually existJavier Jardon2015-03-241-6/+8
| | | | Change-Id: I1521c0bdec4d7a6812f8988a2349e66b08161de8
* simple-network: Use function to ensure directory path will existJavier Jardon2015-03-241-0/+2
| | | | Change-Id: I44693d15aa5e92d5f09720065788adff34f8685c
* simple-network: Add functionn to create a path if it doesnt existJavier Jardon2015-03-241-0/+11
| | | | Change-Id: If011a5518fd30914c89b00099b9d05cff5cd3959
* simple-network: separate creation of directory and file pathJavier Jardon2015-03-241-4/+8
| | | | Change-Id: Ic715815bbad3ef1ee9ab457b62a194eaef45744c
* Fix line lengths in morphlib/exts/simple-network.configureAdam Coldrick2015-03-171-5/+9
| | | | | | | | Some lines were more than 79 characters long. This was causing ./check --full to fail on master of morph. This commit fixes the lines in question. Change-Id: I80969d2d89d3922e021b716c250796188d7a7f4c
* simple-network.configure: Rename networkd file generated by systemd chunkjjardon/simple-network-networkd2Javier Jardón2015-03-161-0/+29
| | | | | Rename instead removal in case the user is already using a 10-dhcp.network file
* simple-network.configure: Update documentationJavier Jardón2015-03-161-6/+9
|
* simple-network.configure: Generate default network config files in a functionJavier Jardón2015-03-161-6/+20
| | | | | | Use DHCP by defaul in the default interfaces: - for /etc/networ/interfaces: "lo:loopback;eth0:dhcp,hostname=$(hostname)" - for networkd: "e*:dhcp"
* simple-network.configure: process pairs of parameters in a functionJavier Jardón2015-03-161-0/+29
|
* simple-network.configure: Add function to convert mask to cidr suffixJavier Jardón2015-03-161-0/+7
| | | | 255.255.255.0 -> 24
* simple-network.configure: Generate networkd .network files as wellJavier Jardón2015-03-161-0/+33
|
* simple-network.configure: Move the generation of /etc/network/interfaces to ↵Javier Jardón2015-03-161-1/+6
| | | | a function
* Use the modern way of the GPL copyright header: URL instead real addressJavier Jardón2015-03-161-3/+2
| | | | Change-Id: I992dc0c1d40f563ade56a833162d409b02be90a0
* EXTS: simple-network.configureDaniel Silverstone (br7vm)2013-05-171-0/+143
Simple networking configuration extension, taking NETWORK_CONFIG from the environment and writing /etc/network/interfaces out during deployment configuration.