injecting network configuration adaptively for various type of linux partition layout
The deficient of the current way of injecting network configuration to VM are:
1. the configuration file is always injected to the first partition. It will be injected wrongly if one use native ubuntu livecd installation, the file will go to /boot
2. it is unable to recognize the layout of the partitions, such as Linux partition and Linux LVM.
A new way of injecting network configuration is proposed in this blueprint.
The new features are as follows:
1. checking the partition layout of a VM image using "fdisk", if "linux LVM member" is found, the corresponding volume groups will be mounted.
2. a strategy will be adopted to search the folder's pattern(such as /etc), to make sure the configuration is injected correctly.
3. a strategy will be adopted to search the content layout, such that various kinds of linux distributions will be recognized and injecting distribution-
Blueprint information
- Status:
- Complete
- Approver:
- Vish Ishaya
- Priority:
- Undefined
- Drafter:
- Reynolds Chin
- Direction:
- Needs approval
- Assignee:
- Reynolds Chin
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
-
Informational
- Milestone target:
- None
- Started by
- Completed by
- Vish Ishaya
Related branches
Related bugs
Sprints
Whiteboard
I just wanted to comment that I believe this a bad path to start down.
--tr3buchet
Based on discussion at the summit, we are not going this route.